Class: Symbol
- Inherits:
-
Object
- Object
- Symbol
- Defined in:
- lib/prigner/extensions.rb
Instance Method Summary collapse
-
#<=>(other) ⇒ Object
Method for comparison between symbols.
Instance Method Details
#<=>(other) ⇒ Object
Method for comparison between symbols.
4 5 6 |
# File 'lib/prigner/extensions.rb', line 4 def <=>(other) self.to_s <=> other.to_s end |