Class: String
- Inherits:
-
Object
- Object
- 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
444 445 446 447 448 449 |
# File 'lib/setfu.rb', line 444 def <(item) return old_string_lt4set(item) if (item.class==String) a = Set.new(self) b = Set.new(item) return a < b end |
#<=(item) ⇒ Object
438 439 440 441 442 443 |
# File 'lib/setfu.rb', line 438 def <=(item) return old_string_lte4set(item) if (item.class==String) a = Set.new(self) b = Set.new(item) return a <= b end |
#old_string_lt4set ⇒ Object
427 |
# File 'lib/setfu.rb', line 427 alias_method :old_string_lt4set, :< |
#old_string_lte4set ⇒ Object
428 |
# File 'lib/setfu.rb', line 428 alias_method :old_string_lte4set, :<= |