Class: Perkins::Build::Shell::If

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

Instance Attribute Summary

Attributes inherited from Block

#open

Attributes inherited from Group

#nodes

Attributes inherited from Node

#code, #level, #options

Instance Method Summary collapse

Methods inherited from Conditional

#initialize

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::Conditional

Instance Method Details

#closeObject



106
107
108
# File 'lib/perkins/build/shell/node.rb', line 106

def close
  Node.new('fi', options)
end