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(builder) ⇒ Package
constructor
A new instance of Package.
- #no_prune {|@builder| ... } ⇒ Object
Methods inherited from CommandBase
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
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 |