Class: Block

Inherits:
Node
  • Object
show all
Defined in:
lib/steamd/nodes/block_node.rb

Overview

The root of the parsed tree

Instance Method Summary collapse

Instance Method Details

#statementsObject

Gets the statements in a Steam Language block

Returns:

  • Array

See Also:



11
12
13
# File 'lib/steamd/nodes/block_node.rb', line 11

def statements
  elements.map(&:statement)
end