Module: Elos::Index::Model::Attributes
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/elos/index/model/attributes.rb
Instance Method Summary collapse
Instance Method Details
#attributes ⇒ Object
4 5 6 |
# File 'lib/elos/index/model/attributes.rb', line 4 def attributes Hash[self.class.attribute_keys.map { |k| [k, send(k)] }] end |