Class: String
Instance Method Summary
collapse
#-
#===, #old_triple_equal4Set
#to_set
#**
#^
#|
#&
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_lt4set ⇒ Object
611
|
# File 'lib/setfu.rb', line 611
alias_method :old_string_lt4set, :<
|
#old_string_lte4set ⇒ Object
612
|
# File 'lib/setfu.rb', line 612
alias_method :old_string_lte4set, :<=
|