Class: FluentCommandBuilder::TeamFoundationTEE::V100::Compare
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V100::Compare
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, item_spec2) ⇒ Compare
Returns a new instance of Compare.
587
588
589
590
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 587
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
596
597
598
599
600
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 596
def format(format)
@b.append " -format:#{@b.format format}"
yield @b if block_given?
self
end
|
#ignore_case {|@b| ... } ⇒ Object
611
612
613
614
615
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 611
def ignore_case
@b.append ' -ignoreCase'
yield @b if block_given?
self
end
|
#ignore_eol {|@b| ... } ⇒ Object
606
607
608
609
610
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 606
def ignore_eol
@b.append ' -ignoreEol'
yield @b if block_given?
self
end
|
#ignore_space {|@b| ... } ⇒ Object
601
602
603
604
605
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 601
def ignore_space
@b.append ' -ignoreSpace'
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
631
632
633
634
635
636
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 631
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
626
627
628
629
630
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 626
def no_prompt
@b.append ' -noPrompt'
yield @b if block_given?
self
end
|
#options {|@b| ... } ⇒ Object
621
622
623
624
625
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 621
def options
@b.append ' -options'
yield @b if block_given?
self
end
|
#recursive {|@b| ... } ⇒ Object
616
617
618
619
620
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 616
def recursive
@b.append ' -recursive'
yield @b if block_given?
self
end
|
#type(file_type) {|@b| ... } ⇒ Object
591
592
593
594
595
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 591
def type(file_type)
@b.append " -type:#{@b.format file_type}"
yield @b if block_given?
self
end
|