Class: Float

Inherits:
Object
  • Object
show all
Defined in:
lib/sequent/core/ext/ext.rb

Class Method Summary collapse

Class Method Details

.deserialize_from_json(value) ⇒ Object



22
23
24
# File 'lib/sequent/core/ext/ext.rb', line 22

def self.deserialize_from_json(value)
  value.blank? ? nil : value.to_f
end