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



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

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

#to_fObject



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

def to_f
  0
end