Class: FluentCommandBuilder::Bundle::V12::Install

Inherits:
CommandBase
  • Object
show all
Defined in:
lib/fluent_command_builder/command_builders/bundle_12.rb

Instance Method Summary collapse

Methods inherited from CommandBase

#configure!, #execute!, #to_s

Constructor Details

#initialize(underlying_builder) ⇒ Install



158
159
160
161
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 158

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

Instance Method Details

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

Yields:

  • (@b)


162
163
164
165
166
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 162

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

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

Yields:

  • (@b)


167
168
169
170
171
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 167

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

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

Yields:

  • (@b)


172
173
174
175
176
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 172

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

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

Yields:

  • (@b)


177
178
179
180
181
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 177

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

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

Yields:

  • (@b)


182
183
184
185
186
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 182

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

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

Yields:

  • (@b)


187
188
189
190
191
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 187

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

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

Yields:

  • (@b)


192
193
194
195
196
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 192

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

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

Yields:

  • (@b)


197
198
199
200
201
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 197

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

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

Yields:

  • (@b)


202
203
204
205
206
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 202

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

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

Yields:

  • (@b)


207
208
209
210
211
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 207

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

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

Yields:

  • (@b)


212
213
214
215
216
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 212

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

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

Yields:

  • (@b)


217
218
219
220
221
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 217

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

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

Yields:

  • (@b)


222
223
224
225
226
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 222

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

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

Yields:

  • (@b)


227
228
229
230
231
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 227

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

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

Yields:

  • (@b)


232
233
234
235
236
# File 'lib/fluent_command_builder/command_builders/bundle_12.rb', line 232

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