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



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

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

Instance Method Details

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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