Class: FluentCommandBuilder::AppCfgPython::V16::Update
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::AppCfgPython::V16::Update
- Defined in:
- lib/fluent_command_builder/command_builders/appcfg_python_16.rb,
lib/fluent_command_builder/command_builders/appcfg_python_16.rb
Instance Method Summary collapse
- #backends {|@builder| ... } ⇒ Object
-
#initialize(builder, directory) ⇒ Update
constructor
A new instance of Update.
- #max_size(size) {|@builder| ... } ⇒ Object
- #no_precompilation {|@builder| ... } ⇒ Object
Methods inherited from CommandBase
Constructor Details
#initialize(builder, directory) ⇒ Update
Returns a new instance of Update.
220 221 222 223 |
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 220 def initialize(builder, backend) super builder @builder.append " update #{@builder.format backend}" end |
Instance Method Details
#backends {|@builder| ... } ⇒ Object
234 235 236 237 238 |
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 234 def backends @builder.append ' --backends' yield @builder if block_given? self end |
#max_size(size) {|@builder| ... } ⇒ Object
224 225 226 227 228 |
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 224 def max_size(size) @builder.append " --max_size=#{@builder.format size}" yield @builder if block_given? self end |
#no_precompilation {|@builder| ... } ⇒ Object
229 230 231 232 233 |
# File 'lib/fluent_command_builder/command_builders/appcfg_python_16.rb', line 229 def no_precompilation @builder.append ' --no_precompilation' yield @builder if block_given? self end |