Method: Amsi::Model::Base::Attribute#initialize
- Defined in:
- lib/amsi/model/base/attribute.rb
#initialize(prefix:, type:, name:) ⇒ Attribute
Returns a new instance of Attribute.
8 9 10 11 12 |
# File 'lib/amsi/model/base/attribute.rb', line 8 def initialize(prefix:, type:, name:) @prefix = prefix @type = type @name = name.to_s end |