Class: Firecord::Record::Deserializer
- Defined in:
- lib/firecord/record/deserializer.rb
Instance Method Summary collapse
-
#initialize(value, type) ⇒ Deserializer
constructor
A new instance of Deserializer.
- #value ⇒ Object
Constructor Details
#initialize(value, type) ⇒ Deserializer
4 5 6 7 |
# File 'lib/firecord/record/deserializer.rb', line 4 def initialize(value, type) @value = value @type = type end |
Instance Method Details
#value ⇒ Object
9 10 11 |
# File 'lib/firecord/record/deserializer.rb', line 9 def value send(@type) end |