Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/sycl.rb
Instance Method Summary collapse
Instance Method Details
#<=>(other) ⇒ Object
721 722 723 724 725 726 727 |
# File 'lib/sycl.rb', line 721 def <=>(other) if other.is_a?(Sycl::Hash) -1 * (other <=> self) else self.__send__(:original_comparator, other) end end |
#original_comparator ⇒ Object
719 |
# File 'lib/sycl.rb', line 719 alias_method :original_comparator, :<=> |