Class: FluentCommandBuilder::TeamFoundationTEE::V101::Help

Inherits:
CommandBase
  • Object
show all
Defined in:
lib/fluent_command_builder/command_builders/team_foundation_tee_101.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.



846
847
848
849
850
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 846

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)


851
852
853
854
855
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 851

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