Class: FluentCommandBuilder::TeamFoundationTEE::V101::Getcs

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) ⇒ Getcs

Returns a new instance of Getcs.



830
831
832
833
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 830

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

Instance Method Details

#changeset(changeset_number) {|@b| ... } ⇒ Object

Yields:

  • (@b)


834
835
836
837
838
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 834

def changeset(changeset_number)
  @b.append " -changeset:#{@b.format changeset_number}"
  yield @b if block_given?
  self
end

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

Yields:

  • (@b)


839
840
841
842
843
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 839

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