Class: FluentCommandBuilder::TeamFoundation::V100::CompareWithCurrentWorkspaceVersion
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundation::V100::CompareWithCurrentWorkspaceVersion
show all
- Defined in:
- lib/fluent_command_builder/command_builders/team_foundation_100.rb
Instance Method Summary
collapse
Methods inherited from CommandBase
#configure!, #execute!, #to_s
Constructor Details
Returns a new instance of CompareWithCurrentWorkspaceVersion.
585
586
587
588
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 585
def initialize(underlying_builder, item_spec)
super underlying_builder
@b.append " difference #{@b.format item_spec}"
end
|
Instance Method Details
599
600
601
602
603
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 599
def format(format)
@b.append " /format:#{@b.format format}"
yield @b if block_given?
self
end
|
#ignore_case {|@b| ... } ⇒ Object
614
615
616
617
618
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 614
def ignore_case
@b.append ' /ignoreCase'
yield @b if block_given?
self
end
|
#ignore_eol {|@b| ... } ⇒ Object
609
610
611
612
613
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 609
def ignore_eol
@b.append ' /ignoreEol'
yield @b if block_given?
self
end
|
#ignore_space {|@b| ... } ⇒ Object
604
605
606
607
608
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 604
def ignore_space
@b.append ' /ignoreSpace'
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
634
635
636
637
638
639
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 634
def login(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
629
630
631
632
633
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 629
def no_prompt
@b.append ' /noPrompt'
yield @b if block_given?
self
end
|
#options {|@b| ... } ⇒ Object
624
625
626
627
628
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 624
def options
@b.append ' /options'
yield @b if block_given?
self
end
|
#recursive {|@b| ... } ⇒ Object
619
620
621
622
623
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 619
def recursive
@b.append ' /recursive'
yield @b if block_given?
self
end
|
#type(file_type) {|@b| ... } ⇒ Object
594
595
596
597
598
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 594
def type(file_type)
@b.append " /type:#{@b.format file_type}"
yield @b if block_given?
self
end
|
#version(version_spec) {|@b| ... } ⇒ Object
589
590
591
592
593
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 589
def version(version_spec)
@b.append " /version:#{@b.format version_spec}"
yield @b if block_given?
self
end
|