Class: String

Instance Method Summary collapse

Methods included from SetFuMixinBinarySubtractOperator

#-

Methods included from SetFuMixinTrippleEqualsOperator

#===, #old_triple_equal4Set

Methods included from SetFuMixinToSetMethod

#to_set

Methods included from SetFuMixinBinaryIntersectionOperator

#**

Methods included from SetFuMixinBinaryXorOperator

#^

Methods included from SetFuMixinBinaryOrOperator

#|

Methods included from SetFuMixinBinaryAndOperator

#&

Instance Method Details

#<(item) ⇒ Object



628
629
630
631
632
633
# File 'lib/setfu.rb', line 628

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



622
623
624
625
626
627
# File 'lib/setfu.rb', line 622

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_lt4setObject



611
# File 'lib/setfu.rb', line 611

alias_method :old_string_lt4set, :<

#old_string_lte4setObject



612
# File 'lib/setfu.rb', line 612

alias_method :old_string_lte4set, :<=