Method: Unite::Unit#initialize
- Defined in:
- lib/unite/unit.rb
#initialize(attributes = {}) ⇒ Unit
Returns a new instance of Unit.
9 10 11 12 13 14 |
# File 'lib/unite/unit.rb', line 9 def initialize(attributes = {}) attributes.each do |name, value| send("#{name}=", value) end super end |