Module: FluentCommandBuilder::Rake::V09

Defined in:
lib/fluent_command_builder/command_builders/rake_09.rb

Defined Under Namespace

Classes: Rake

Constant Summary collapse

COMMAND_NAME =
'rake'

Instance Method Summary collapse

Instance Method Details

#rake(task = nil) {|builder| ... } ⇒ Object

Yields:

  • (builder)


129
130
131
132
133
134
# File 'lib/fluent_command_builder/command_builders/rake_09.rb', line 129

def rake(task=nil)
  builder = CommandBuilder.new COMMAND_NAME
  command = Rake.new builder, task
  yield builder if block_given?
  command
end