Class: FluentCommandBuilder::XCodeBuild::V45::Version

Inherits:
CommandBase
  • Object
show all
Defined in:
lib/fluent_command_builder/command_builders/xcodebuild_45.rb

Instance Method Summary collapse

Methods inherited from CommandBase

#configure!, #execute!, #to_s

Constructor Details

#initialize(underlying_builder) ⇒ Version



313
314
315
316
# File 'lib/fluent_command_builder/command_builders/xcodebuild_45.rb', line 313

def initialize(underlying_builder)
  super underlying_builder
  @b.append ' -version'
end

Instance Method Details

#info_item(info_item) {|@b| ... } ⇒ Object

Yields:

  • (@b)


322
323
324
325
326
# File 'lib/fluent_command_builder/command_builders/xcodebuild_45.rb', line 322

def info_item(info_item)
  @b.append " #{@b.format info_item}"
  yield @b if block_given?
  self
end

#sdk(sdk_name) {|@b| ... } ⇒ Object

Yields:

  • (@b)


317
318
319
320
321
# File 'lib/fluent_command_builder/command_builders/xcodebuild_45.rb', line 317

def sdk(sdk_name)
  @b.append " -sdk #{@b.format sdk_name}"
  yield @b if block_given?
  self
end