Method: AttrJson::Model#to_h
- Defined in:
- lib/attr_json/model.rb
#to_h ⇒ Object
We deep_dup on #to_h, you want attributes unduped, ask for #attributes.
400 401 402 |
# File 'lib/attr_json/model.rb', line 400 def to_h attributes.deep_dup end |