Class: Integer
- Inherits:
-
Object
- Object
- Integer
- Defined in:
- lib/sequent/core/ext/ext.rb
Class Method Summary collapse
Class Method Details
.deserialize_from_json(value) ⇒ Object
16 17 18 |
# File 'lib/sequent/core/ext/ext.rb', line 16 def self.deserialize_from_json(value) value.blank? ? nil : value.to_i end |