Method: LeanModel::Base#attributes
- Defined in:
- lib/lean_model/base.rb
#attributes ⇒ Object
24 25 26 27 28 29 |
# File 'lib/lean_model/base.rb', line 24 def attributes self._attributes.inject({}) do |hash,attr| hash[attr.to_s] = send(attr) hash end end |