Class: FluentCommandBuilder::Bundle::V12::Platform

Inherits:
CommandBase
  • Object
show all
Defined in:
lib/fluent_command_builder/command_builders/bundle_12.rb

Instance Method Summary collapse

Methods inherited from CommandBase

#configure!, #execute!, #to_s

Constructor Details

#initialize(underlying_builder) ⇒ Platform

Returns a new instance of Platform.



276
277
278
279
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 276

def initialize(underlying_builder)
  super underlying_builder
  @b.append ' platform'
end

Instance Method Details

#ruby {|@b| ... } ⇒ Object

Yields:

  • (@b)


280
281
282
283
284
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 280

def ruby
  @b.append ' --ruby'
  yield @b if block_given?
  self
end