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

Returns a new instance of Install.



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

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

Instance Method Details

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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