Class: KeytechKit::Layout

Inherits:
Object
  • Object
show all
Defined in:
lib/keytechKit/classes/layout/layout.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ Layout

Returns a new instance of Layout.



8
9
10
# File 'lib/keytechKit/classes/layout/layout.rb', line 8

def initialize(data)
  parseControls(data["DesignerControls"])
end

Instance Attribute Details

#controlsObject

Returns the value of attribute controls.



6
7
8
# File 'lib/keytechKit/classes/layout/layout.rb', line 6

def controls
  @controls
end