Module: Darstellung::Definable
- Included in:
- Representable
- Defined in:
- lib/darstellung/definable.rb
Overview
This module contains access from the instance level to the attribute definitions provided by the macros.
Instance Method Summary collapse
-
#detail_attributes ⇒ Hash
Get all the attributes that are used in the detail representation.
-
#summary_attributes ⇒ Hash
Get all the attributes that are used in the summary representation.
Instance Method Details
#detail_attributes ⇒ Hash
Get all the attributes that are used in the detail representation.
18 19 20 |
# File 'lib/darstellung/definable.rb', line 18 def detail_attributes self.class.detail_attributes end |
#summary_attributes ⇒ Hash
Get all the attributes that are used in the summary representation.
30 31 32 |
# File 'lib/darstellung/definable.rb', line 30 def summary_attributes self.class.summary_attributes end |