Class: Rea::AspectType::Identification::Setup
- Inherits:
-
Object
- Object
- Rea::AspectType::Identification::Setup
- Defined in:
- lib/rea/aspect_type/identification.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Setup
constructor
A new instance of Setup.
Constructor Details
#initialize(options = {}) ⇒ Setup
Returns a new instance of Setup.
17 18 19 |
# File 'lib/rea/aspect_type/identification.rb', line 17 def initialize ={} .keys.each do |key| instance_variable_set("@#{key}", [key]) end end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
16 17 18 |
# File 'lib/rea/aspect_type/identification.rb', line 16 def name @name end |
#type ⇒ Object
Returns the value of attribute type.
16 17 18 |
# File 'lib/rea/aspect_type/identification.rb', line 16 def type @type end |