Class: Gemite::AST::TplIf

Inherits:
Struct
  • Object
show all
Defined in:
lib/gemite/ast.rb

Overview

branches: [[cond_ast, [tpl_node,...]], ...]

Instance Attribute Summary collapse

Instance Attribute Details

#branchesObject

Returns the value of attribute branches

Returns:

  • (Object)

    the current value of branches



39
40
41
# File 'lib/gemite/ast.rb', line 39

def branches
  @branches
end

#else_bodyObject

Returns the value of attribute else_body

Returns:

  • (Object)

    the current value of else_body



39
40
41
# File 'lib/gemite/ast.rb', line 39

def else_body
  @else_body
end