Class: FluentCommandBuilder::Bundle::V11::Check
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::Bundle::V11::Check
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) ⇒ Check
Returns a new instance of Check.
101
102
103
104
|
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 101
def initialize(underlying_builder)
super underlying_builder
@b.append ' check'
end
|
Instance Method Details
#gemfile(file) {|@b| ... } ⇒ Object
105
106
107
108
109
|
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 105
def gemfile(file)
@b.append " --gemfile=#{@b.format file}"
yield @b if block_given?
self
end
|
#path(path) {|@b| ... } ⇒ Object
110
111
112
113
114
|
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 110
def path(path)
@b.append " --path=#{@b.format path}"
yield @b if block_given?
self
end
|