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) {|@builder| ... } ⇒ Object
-
#initialize(builder) ⇒ Version
constructor
A new instance of Version.
- #sdk(sdk_name) {|@builder| ... } ⇒ Object
Methods inherited from CommandBase
Constructor Details
#initialize(builder) ⇒ Version
Returns a new instance of Version.
112 113 114 115 |
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 112 def initialize(builder) super builder @builder.append ' -version' end |
Instance Method Details
#info_item(info_item) {|@builder| ... } ⇒ Object
121 122 123 124 125 |
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 121 def info_item(info_item) @builder.append " #{@builder.format info_item}" yield @builder if block_given? self end |
#sdk(sdk_name) {|@builder| ... } ⇒ Object
116 117 118 119 120 |
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 116 def sdk(sdk_name) @builder.append " -sdk #{@builder.format sdk_name}" yield @builder if block_given? self end |