Class: Boutons::Resource

Inherits:
Object
  • Object
show all
Defined in:
lib/boutons/resource.rb

Class Method Summary collapse

Class Method Details

.add(name, object) ⇒ Object



4
5
6
# File 'lib/boutons/resource.rb', line 4

def add name, object
  self.instance_variable_set("@#{name}",object)
end