Class: FluentCommandBuilder::Bundle::V11::Install
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::Bundle::V11::Install
- Defined in:
- lib/fluent_command_builder/command_builders/bundle_11.rb
Instance Method Summary collapse
- #binstubs(path) {|@builder| ... } ⇒ Object
- #clean {|@builder| ... } ⇒ Object
- #deployment {|@builder| ... } ⇒ Object
- #frozen {|@builder| ... } ⇒ Object
- #full_index {|@builder| ... } ⇒ Object
- #gemfile(file) {|@builder| ... } ⇒ Object
-
#initialize(builder) ⇒ Install
constructor
A new instance of Install.
- #local {|@builder| ... } ⇒ Object
- #no_cache {|@builder| ... } ⇒ Object
- #no_prune {|@builder| ... } ⇒ Object
- #path(path) {|@builder| ... } ⇒ Object
- #quiet {|@builder| ... } ⇒ Object
- #shebang(string) {|@builder| ... } ⇒ Object
- #standalone(array) {|@builder| ... } ⇒ Object
- #system {|@builder| ... } ⇒ Object
- #without(group) {|@builder| ... } ⇒ Object
Methods inherited from CommandBase
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 |