Skip to content

Commit

Permalink
Changed my mind. Instead of !, we have ~.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyler McMullen committed Feb 20, 2011
1 parent 960cb4d commit f5b378b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/bitset/bitset.c
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ void Init_bitset() {
rb_define_alias(cBitset, "^", "xor");
rb_define_alias(cBitset, "symmetric_difference", "xor");
rb_define_method(cBitset, "not", rb_bitset_not, 0);
rb_define_alias(cBitset, "!", "not");
rb_define_alias(cBitset, "~", "not");
rb_define_method(cBitset, "hamming", rb_bitset_hamming, 1);
rb_define_method(cBitset, "each", rb_bitset_each, 0);
rb_define_method(cBitset, "to_s", rb_bitset_to_s, 0);
Expand Down

0 comments on commit f5b378b

Please sign in to comment.