Class: FluentCommandBuilder::XCodeBuild::V43::Version
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::XCodeBuild::V43::Version
- Defined in:
- lib/fluent_command_builder/command_builders/xcodebuild_43.rb
Instance Method Summary collapse
- #info_item(info_item) {|@b| ... } ⇒ Object
-
#initialize(underlying_builder) ⇒ Version
constructor
A new instance of Version.
- #sdk(sdk_name) {|@b| ... } ⇒ Object
Methods inherited from CommandBase
Constructor Details
#initialize(underlying_builder) ⇒ Version
Returns a new instance of Version.
258 259 260 261 |
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 258 def initialize() super @b.append ' -version' end |
Instance Method Details
#info_item(info_item) {|@b| ... } ⇒ Object
267 268 269 270 271 |
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 267 def info_item(info_item) @b.append " #{@b.format info_item}" yield @b if block_given? self end |
#sdk(sdk_name) {|@b| ... } ⇒ Object
262 263 264 265 266 |
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 262 def sdk(sdk_name) @b.append " -sdk #{@b.format sdk_name}" yield @b if block_given? self end |