Class: FluentCommandBuilder::Bundle::V11::Install

Inherits:
CommandBase
  • Object
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) ⇒ Install

Returns a new instance of Install.



150
151
152
153
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 150

def initialize(underlying_builder)
  super underlying_builder
  @b.append ' install'
end

Instance Method Details

#binstubs(path) {|@b| ... } ⇒ Object

Yields:

  • (@b)


154
155
156
157
158
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 154

def binstubs(path)
  @b.append " --binstubs=#{@b.format path}"
  yield @b if block_given?
  self
end

#clean {|@b| ... } ⇒ Object

Yields:

  • (@b)


159
160
161
162
163
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 159

def clean
  @b.append ' --clean'
  yield @b if block_given?
  self
end

#deployment {|@b| ... } ⇒ Object

Yields:

  • (@b)


164
165
166
167
168
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 164

def deployment
  @b.append ' --deployment'
  yield @b if block_given?
  self
end

#frozen {|@b| ... } ⇒ Object

Yields:

  • (@b)


169
170
171
172
173
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 169

def frozen
  @b.append ' --frozen'
  yield @b if block_given?
  self
end

#full_index {|@b| ... } ⇒ Object

Yields:

  • (@b)


174
175
176
177
178
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 174

def full_index
  @b.append ' --full-index'
  yield @b if block_given?
  self
end

#gemfile(file) {|@b| ... } ⇒ Object

Yields:

  • (@b)


179
180
181
182
183
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 179

def gemfile(file)
  @b.append " --gemfile=#{@b.format file}"
  yield @b if block_given?
  self
end

#local {|@b| ... } ⇒ Object

Yields:

  • (@b)


184
185
186
187
188
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 184

def local
  @b.append ' --local'
  yield @b if block_given?
  self
end

#no_cache {|@b| ... } ⇒ Object

Yields:

  • (@b)


189
190
191
192
193
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 189

def no_cache
  @b.append ' --no-cache'
  yield @b if block_given?
  self
end

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

Yields:

  • (@b)


194
195
196
197
198
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 194

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

#path(path) {|@b| ... } ⇒ Object

Yields:

  • (@b)


199
200
201
202
203
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 199

def path(path)
  @b.append " --path=#{@b.format path}"
  yield @b if block_given?
  self
end

#quiet {|@b| ... } ⇒ Object

Yields:

  • (@b)


204
205
206
207
208
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 204

def quiet
  @b.append ' --quiet'
  yield @b if block_given?
  self
end

#shebang(string) {|@b| ... } ⇒ Object

Yields:

  • (@b)


209
210
211
212
213
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 209

def shebang(string)
  @b.append " --shebang=#{@b.format string}"
  yield @b if block_given?
  self
end

#standalone(array) {|@b| ... } ⇒ Object

Yields:

  • (@b)


214
215
216
217
218
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 214

def standalone(array)
  @b.append " --standalone=#{@b.format array}"
  yield @b if block_given?
  self
end

#system {|@b| ... } ⇒ Object

Yields:

  • (@b)


219
220
221
222
223
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 219

def system
  @b.append ' --system'
  yield @b if block_given?
  self
end

#without(group) {|@b| ... } ⇒ Object

Yields:

  • (@b)


224
225
226
227
228
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 224

def without(group)
  @b.append " --without=#{@b.format group}"
  yield @b if block_given?
  self
end