Method: Unity::Property#initialize

Defined in:
lib/unity/lookup/property.rb

#initialize(attributes = {}) ⇒ Property

Returns a new instance of Property.



13
14
15
16
17
18
# File 'lib/unity/lookup/property.rb', line 13

def initialize(attributes = {})
  attributes.each do |name, value|
    send("#{name}=", value)
  end
  super
end