Class: Rea::AspectType::Identification::Setup

Inherits:
Object
  • Object
show all
Defined in:
lib/rea/aspect_type/identification.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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 options={}
  options.keys.each do |key| instance_variable_set("@#{key}", options[key]) end
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



16
17
18
# File 'lib/rea/aspect_type/identification.rb', line 16

def name
  @name
end

#typeObject

Returns the value of attribute type.



16
17
18
# File 'lib/rea/aspect_type/identification.rb', line 16

def type
  @type
end