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



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_lt4setObject



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

alias_method :old_string_lt4set, :<

#old_string_lte4setObject



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

alias_method :old_string_lte4set, :<=