Class: Rea::AspectType::MemberType
- Defined in:
- lib/rea/aspect_type/classification_aspect.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Rea::AspectType::Base
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
66 67 68 |
# File 'lib/rea/aspect_type/classification_aspect.rb', line 66 def name @name end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
66 67 68 |
# File 'lib/rea/aspect_type/classification_aspect.rb', line 66 def type @type end |
Instance Method Details
#category_options ⇒ Object
68 69 70 71 |
# File 'lib/rea/aspect_type/classification_aspect.rb', line 68 def category_type = ::Rea::CategoryType.find_by_name(self.type.to_s) category_type.categories end |