Class: Yesterday::VersionedObjectCreator
- Inherits:
-
Struct
- Object
- Struct
- Yesterday::VersionedObjectCreator
- Defined in:
- lib/yesterday/versioned_object_creator.rb
Instance Attribute Summary collapse
-
#hash ⇒ Object
Returns the value of attribute hash.
Instance Method Summary collapse
Instance Attribute Details
#hash ⇒ Object
Returns the value of attribute hash
2 3 4 |
# File 'lib/yesterday/versioned_object_creator.rb', line 2 def hash @hash end |
Instance Method Details
#to_object ⇒ Object
4 5 6 |
# File 'lib/yesterday/versioned_object_creator.rb', line 4 def to_object @object ||= deserialize(hash) end |