Method: Attrio::Attribute#initialize
- Defined in:
- lib/attrio/attribute.rb
#initialize(name, type, options) ⇒ Attribute
Returns a new instance of Attribute.
7 8 9 |
# File 'lib/attrio/attribute.rb', line 7 def initialize(name, type, ) @name = name; @type = type; = Helpers.symbolize_hash_keys() end |