Class: FluentCommandBuilder::Bundle::V11::Package
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::Bundle::V11::Package
- Defined in:
- lib/fluent_command_builder/command_builders/bundle_11.rb
Instance Method Summary collapse
-
#initialize(underlying_builder) ⇒ Package
constructor
A new instance of Package.
- #no_prune {|@b| ... } ⇒ Object
Methods inherited from CommandBase
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() super @b.append ' package' end |
Instance Method Details
#no_prune {|@b| ... } ⇒ Object
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 |