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.



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

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)


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

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