Class: FluentCommandBuilder::Bundle::V11::Check
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::Bundle::V11::Check
- Defined in:
- lib/fluent_command_builder/command_builders/bundle_11.rb
Instance Method Summary collapse
- #gemfile(file) {|@builder| ... } ⇒ Object
-
#initialize(builder) ⇒ Check
constructor
A new instance of Check.
- #path(path) {|@builder| ... } ⇒ Object
Methods inherited from CommandBase
Constructor Details
#initialize(builder) ⇒ Check
85 86 87 88 |
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 85 def initialize(builder) super builder @builder.append ' check' end |
Instance Method Details
#gemfile(file) {|@builder| ... } ⇒ Object
89 90 91 92 93 |
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 89 def gemfile(file) @builder.append " --gemfile=#{@builder.format file}" yield @builder if block_given? self end |
#path(path) {|@builder| ... } ⇒ Object
94 95 96 97 98 |
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 94 def path(path) @builder.append " --path=#{@builder.format path}" yield @builder if block_given? self end |