Module: ActiveEntity::Accessor
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/active_entity/accessor.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#attributes ⇒ Object
17 18 19 |
# File 'lib/active_entity/accessor.rb', line 17 def attributes Hash[defined_attributes.keys.map {|name| [name.to_s, public_send(name)] }] end |