Class: FluentCommandBuilder::Bundle::V11::Package

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

Instance Method Summary collapse

Methods inherited from CommandBase

#configure!, #execute!, #to_s

Constructor Details

#initialize(underlying_builder) ⇒ Package

Returns a new instance of Package.



252
253
254
255
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 252

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

Instance Method Details

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

Yields:

  • (@b)


256
257
258
259
260
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 256

def no_prune
  @b.append ' --no-prune'
  yield @b if block_given?
  self
end