Class: MLS::Property::Hash
- Inherits:
-
MLS::Property
- Object
- MLS::Property
- MLS::Property::Hash
- Defined in:
- lib/mls/properties/hash.rb
Constant Summary
Constants inherited from MLS::Property
Instance Attribute Summary
Attributes inherited from MLS::Property
#default, #instance_variable_name, #model, #name, #options, #reader_visibility, #writer_visibility
Instance Method Summary collapse
-
#load(value) ⇒ Object
from_json.
Methods inherited from MLS::Property
demodulized_names, determine_class, #determine_visibility, find_class, inherited, #initialize, #set_default_value
Constructor Details
This class inherits a constructor from MLS::Property
Instance Method Details
#load(value) ⇒ Object
from_json
3 4 5 |
# File 'lib/mls/properties/hash.rb', line 3 def load(value) # from_json value.with_indifferent_access end |