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

#execute!, #to_s

Constructor Details

#initialize(builder) ⇒ Install

Returns a new instance of Install.



134
135
136
137
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 134

def initialize(builder)
  super builder
  @builder.append ' install'
end

Instance Method Details

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

Yields:

  • (@builder)


138
139
140
141
142
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 138

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

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

Yields:

  • (@builder)


143
144
145
146
147
# File 'lib/fluent_command_builder/command_builders/bundle_11.rb', line 143

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

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

Yields:

  • (@builder)


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

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

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

Yields:

  • (@builder)


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

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

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

Yields:

  • (@builder)


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

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

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

Yields:

  • (@builder)


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

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

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

Yields:

  • (@builder)


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

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

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

Yields:

  • (@builder)


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

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

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

Yields:

  • (@builder)


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

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

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

Yields:

  • (@builder)


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

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

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

Yields:

  • (@builder)


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

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

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

Yields:

  • (@builder)


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

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

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

Yields:

  • (@builder)


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

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

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

Yields:

  • (@builder)


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

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

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

Yields:

  • (@builder)


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

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