Class: Symbol

Inherits:
Object
  • Object
show all
Defined in:
lib/edl_parser.rb

Overview

1.8.7 1.9 Symbol compat

Instance Method Summary collapse

Instance Method Details

#<=>(with) ⇒ Object

Standard in ruby 1.9. See official documentation



372
373
374
375
# File 'lib/edl_parser.rb', line 372

def <=>(with)
  return nil unless with.is_a? Symbol
  to_s <=> with.to_s
end