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.



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

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

Instance Method Details

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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