Class: Symbol
Overview
1.8.7 1.9 Symbol compat
Instance Method Summary collapse
-
#<=>(with) ⇒ Object
Standard in ruby 1.9.
Instance Method Details
#<=>(with) ⇒ Object
Standard in ruby 1.9. See official documentation
337 338 339 340 |
# File 'lib/edl_parser.rb', line 337 def <=>(with) return nil unless with.is_a? Symbol to_s <=> with.to_s end |