Class: FluentCommandBuilder::TeamFoundationTEE::V100::Getcs

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

Returns a new instance of Getcs.



799
800
801
802
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 799

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

Instance Method Details

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

Yields:

  • (@b)


803
804
805
806
807
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 803

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

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

Yields:

  • (@b)


808
809
810
811
812
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 808

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