class AmsLayout::Parser::Control

Attributes

id[R]
label[R]
type[R]

Public Class Methods

new(label, id, type) click to toggle source
# File lib/ams_layout/parser.rb, line 111
def initialize label, id, type
  @label = label
  @id = id
  @type = type
end

Public Instance Methods

to_hash() click to toggle source
# File lib/ams_layout/parser.rb, line 117
def to_hash
  {label: @label, id: @id, type: @type}
end