Module: SuperModel::Marshal::Model::ClassMethods
- Defined in:
- lib/supermodel/marshal.rb
Instance Method Summary collapse
- #marshal(options = nil) ⇒ Object (also: #marshal=)
- #marshal_records ⇒ Object
- #marshal_records=(records) ⇒ Object
Instance Method Details
#marshal(options = nil) ⇒ Object Also known as: marshal=
75 76 77 78 |
# File 'lib/supermodel/marshal.rb', line 75 def marshal( = nil) @marshal = if @marshal ||= {} end |
#marshal_records ⇒ Object
85 86 87 |
# File 'lib/supermodel/marshal.rb', line 85 def marshal_records @records end |
#marshal_records=(records) ⇒ Object
81 82 83 |
# File 'lib/supermodel/marshal.rb', line 81 def marshal_records=(records) @records = records end |