Method: Moonrope::StructureAttribute#initialize
- Defined in:
- lib/moonrope/structure_attribute.rb
#initialize(type, name) ⇒ StructureAttribute
Returns a new instance of StructureAttribute.
17 18 19 20 21 22 |
# File 'lib/moonrope/structure_attribute.rb', line 17 def initialize(type, name) @type = type @name = name @groups = [] @conditions = [] end |