Class: Rea::AspectType::Base

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

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Base

Returns a new instance of Base.



4
5
6
# File 'lib/rea/aspect_type/base.rb', line 4

def initialize options={}
  options.keys.each { |key| self.instance_variable_set("@#{key}", options[key]) }
end