Class: Symbol

Inherits:
Object show all
Defined in:
lib/ib/extensions.rb

Instance Method Summary collapse

Instance Method Details

#<=>(other) ⇒ Object

ActiveModel serialization depends on this method



53
54
55
# File 'lib/ib/extensions.rb', line 53

def <=> other
  to_s <=> other.to_s
end

#to_fObject



48
49
50
# File 'lib/ib/extensions.rb', line 48

def to_f
  0
end