Class: Bake::Command::Call

Inherits:
Samovar::Command
  • Object
show all
Defined in:
lib/bake/command/call.rb

Overview

Execute one or more commands.

Instance Method Summary collapse

Instance Method Details

#bakefileObject



33
34
35
# File 'lib/bake/command/call.rb', line 33

def bakefile
	@parent.bakefile
end

#callObject



39
40
41
42
43
# File 'lib/bake/command/call.rb', line 39

def call
	context = @parent.context
	
	context.call(*@commands)
end