Class: String
- Includes:
- SetFuMixinBinaryAndOperator, SetFuMixinBinaryIntersectionOperator, SetFuMixinBinaryOrOperator, SetFuMixinBinarySubtractOperator, SetFuMixinBinaryXorOperator, SetFuMixinToSetMethod, SetFuMixinTrippleEqualsOperator
- Defined in:
- lib/setfu.rb
Instance Method Summary collapse
Methods included from SetFuMixinBinarySubtractOperator
Methods included from SetFuMixinTrippleEqualsOperator
Methods included from SetFuMixinToSetMethod
Methods included from SetFuMixinBinaryIntersectionOperator
Methods included from SetFuMixinBinaryXorOperator
Methods included from SetFuMixinBinaryOrOperator
Methods included from SetFuMixinBinaryAndOperator
Instance Method Details
#<(item) ⇒ Object
984 985 986 987 988 989 |
# File 'lib/setfu.rb', line 984 def <(item) return old_string_lt4set(item) if (item.type_of? String) a = BitSet.new(self) b = BitSet.new(item) return a < b end |
#<=(item) ⇒ Object
978 979 980 981 982 983 |
# File 'lib/setfu.rb', line 978 def <=(item) return old_string_lte4set(item) if (item.type_of? String) a = BitSet.new(self) b = BitSet.new(item) return a <= b end |
#old_string_lt4set ⇒ Object
967 |
# File 'lib/setfu.rb', line 967 alias_method :old_string_lt4set, :< |
#old_string_lte4set ⇒ Object
968 |
# File 'lib/setfu.rb', line 968 alias_method :old_string_lte4set, :<= |