Module: FluentCommandBuilder::Rake::V100
- Defined in:
- lib/fluent_command_builder/command_builders/rake_100.rb
Defined Under Namespace
Classes: Rake
Constant Summary collapse
- VERSION =
'10.0'- @@config =
CommandBuilderConfig.new FluentCommandBuilder::Rake::COMMAND_NAME, VERSION
Instance Method Summary collapse
Instance Method Details
#configure_rake {|@@config| ... } ⇒ Object
13 14 15 16 17 |
# File 'lib/fluent_command_builder/command_builders/rake_100.rb', line 13 def configure_rake yield @@config @@config.validate_path @@config.validate_version end |
#rake(task = nil) {|b| ... } ⇒ Object
18 19 20 21 22 23 |
# File 'lib/fluent_command_builder/command_builders/rake_100.rb', line 18 def rake(task=nil) b = .new @@config c = Rake.new(b, task) yield b if block_given? c end |