Class: Symbol

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



4
5
6
# File 'lib/sequent/core/ext/ext.rb', line 4

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