Class: FluentCommandBuilder::TeamFoundationTEE::V100::CompareWithCurrentWorkspaceVersion

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, item_spec) ⇒ CompareWithCurrentWorkspaceVersion

Returns a new instance of CompareWithCurrentWorkspaceVersion.



530
531
532
533
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 530

def initialize(underlying_builder, item_spec)
  super underlying_builder
  @b.append " difference #{@b.format item_spec}"
end

Instance Method Details

#format(format) {|@b| ... } ⇒ Object

Yields:

  • (@b)


544
545
546
547
548
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 544

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

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

Yields:

  • (@b)


559
560
561
562
563
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 559

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

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

Yields:

  • (@b)


554
555
556
557
558
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 554

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

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

Yields:

  • (@b)


549
550
551
552
553
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 549

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

#login(username, password = nil) {|@b| ... } ⇒ Object

Yields:

  • (@b)


579
580
581
582
583
584
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 579

def (username, password=nil)
  @b.append " -login:#{@b.format username}"
  @b.append ",#{@b.format_password password}" unless password.nil?
  yield @b if block_given?
  self
end

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

Yields:

  • (@b)


574
575
576
577
578
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 574

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

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

Yields:

  • (@b)


569
570
571
572
573
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 569

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

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

Yields:

  • (@b)


564
565
566
567
568
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 564

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

#type(file_type) {|@b| ... } ⇒ Object

Yields:

  • (@b)


539
540
541
542
543
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 539

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

#version(version_spec) {|@b| ... } ⇒ Object

Yields:

  • (@b)


534
535
536
537
538
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 534

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