Class: Symbol

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

Instance Method Summary collapse

Instance Method Details

#<=>(other) ⇒ Object

ActiveModel serialization depends on this method



78
79
80
# File 'lib/extensions/class-extensions.rb', line 78

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

#to_fObject



73
74
75
# File 'lib/extensions/class-extensions.rb', line 73

def to_f
  0
end