Class: FluentCommandBuilder::TeamFoundationTEE::V100::Help

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

Instance Method Summary collapse

Methods inherited from CommandBase

#configure!, #execute!, #to_s

Constructor Details

#initialize(underlying_builder, command = nil) ⇒ Help

Returns a new instance of Help.



814
815
816
817
818
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 814

def initialize(underlying_builder, command=nil)
  super underlying_builder
  @b.append ' help'
  @b.append " #{@b.format command}" unless command.nil?
end

Instance Method Details

#listexitcodes {|@b| ... } ⇒ Object

Yields:

  • (@b)


819
820
821
822
823
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 819

def listexitcodes
  @b.append ' -listexitcodes]'
  yield @b if block_given?
  self
end