Class: FluentCommandBuilder::TeamFoundationTEE::V101::Compare
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V101::Compare
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, item_spec, item_spec2) ⇒ Compare
Returns a new instance of Compare.
619
620
621
622
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 619
def initialize(underlying_builder, item_spec, item_spec2)
super underlying_builder
@b.append " difference #{@b.format item_spec} #{@b.format item_spec2}"
end
|
Instance Method Details
628
629
630
631
632
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 628
def format(format)
@b.append " -format:#{@b.format format}"
yield @b if block_given?
self
end
|
#ignore_case {|@b| ... } ⇒ Object
643
644
645
646
647
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 643
def ignore_case
@b.append ' -ignoreCase'
yield @b if block_given?
self
end
|
#ignore_eol {|@b| ... } ⇒ Object
638
639
640
641
642
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 638
def ignore_eol
@b.append ' -ignoreEol'
yield @b if block_given?
self
end
|
#ignore_space {|@b| ... } ⇒ Object
633
634
635
636
637
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 633
def ignore_space
@b.append ' -ignoreSpace'
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
663
664
665
666
667
668
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 663
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
658
659
660
661
662
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 658
def no_prompt
@b.append ' -noPrompt'
yield @b if block_given?
self
end
|
#options {|@b| ... } ⇒ Object
653
654
655
656
657
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 653
def options
@b.append ' -options'
yield @b if block_given?
self
end
|
#recursive {|@b| ... } ⇒ Object
648
649
650
651
652
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 648
def recursive
@b.append ' -recursive'
yield @b if block_given?
self
end
|
#type(file_type) {|@b| ... } ⇒ Object
623
624
625
626
627
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 623
def type(file_type)
@b.append " -type:#{@b.format file_type}"
yield @b if block_given?
self
end
|