Class: Runbook::Statements::Layout

Inherits:
Runbook::Statement show all
Defined in:
lib/runbook/statements/layout.rb

Instance Attribute Summary collapse

Attributes inherited from Runbook::Statement

#parent

Instance Method Summary collapse

Methods inherited from Runbook::Statement

#render, #run

Methods included from Hooks::Invoker

#_execute_after_hooks, #_execute_around_hooks, #_execute_before_hooks, #invoke_with_hooks

Methods inherited from Node

#dynamic!, #dynamic?, #visited!, #visited?

Constructor Details

#initialize(structure) ⇒ Layout

Returns a new instance of Layout.



5
6
7
# File 'lib/runbook/statements/layout.rb', line 5

def initialize(structure)
  @structure = structure
end

Instance Attribute Details

#structureObject (readonly)

Returns the value of attribute structure.



3
4
5
# File 'lib/runbook/statements/layout.rb', line 3

def structure
  @structure
end