Module: SuperModel::Marshal::Model::ClassMethods

Defined in:
lib/supermodel/marshal.rb

Instance Method Summary collapse

Instance Method Details

#marshal(options = nil) ⇒ Object Also known as: marshal=



75
76
77
78
# File 'lib/supermodel/marshal.rb', line 75

def marshal(options = nil)
  @marshal = options if options
  @marshal ||= {}
end

#marshal_recordsObject



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