Class: Perkins::Build::Shell::Else

Inherits:
Block show all
Defined in:
lib/perkins/build/shell/node.rb

Instance Attribute Summary

Attributes inherited from Block

#close

Attributes inherited from Group

#nodes

Attributes inherited from Node

#code, #level, #options

Instance Method Summary collapse

Methods inherited from Block

#cmd, #raw, #script, #to_s

Methods inherited from Group

#initialize, #to_s

Methods included from Dsl

#cd, #cmd, #echo, #elif, #else, #export, #file, #fold, #if, #newline, #raw, #script, #set

Methods inherited from Node

#escape, #initialize, #name, #to_s

Constructor Details

This class inherits a constructor from Perkins::Build::Shell::Group

Instance Method Details

#openObject



115
116
117
# File 'lib/perkins/build/shell/node.rb', line 115

def open
  @open = Node.new('else', options)
end