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

#execute!, #to_s

Constructor Details

#initialize(builder) ⇒ Package



237
238
239
240
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 237

def initialize(builder)
  super builder
  @builder.append ' package'
end

Instance Method Details

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

Yields:

  • (@builder)


241
242
243
244
245
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 241

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