Class: FluentCommandBuilder::Tf::TEE2010::CompareWithCurrentWorkspaceVersion
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::Tf::TEE2010::CompareWithCurrentWorkspaceVersion
- Defined in:
- lib/fluent_command_builder/command_builders/tf_tee_2010.rb
Instance Method Summary collapse
- #format(format) {|@builder| ... } ⇒ Object
- #ignore_case {|@builder| ... } ⇒ Object
- #ignore_eol {|@builder| ... } ⇒ Object
- #ignore_space {|@builder| ... } ⇒ Object
-
#initialize(builder, item_spec) ⇒ CompareWithCurrentWorkspaceVersion
constructor
A new instance of CompareWithCurrentWorkspaceVersion.
- #login(username, password = nil) {|@builder| ... } ⇒ Object
- #no_prompt {|@builder| ... } ⇒ Object
- #options {|@builder| ... } ⇒ Object
- #recursive {|@builder| ... } ⇒ Object
- #type(file_type) {|@builder| ... } ⇒ Object
- #version(version_spec) {|@builder| ... } ⇒ Object
Methods inherited from CommandBase
Constructor Details
#initialize(builder, item_spec) ⇒ CompareWithCurrentWorkspaceVersion
Returns a new instance of CompareWithCurrentWorkspaceVersion.
539 540 541 542 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 539 def initialize(builder, item_spec) super builder @builder.append " difference #{@builder.format item_spec}" end |
Instance Method Details
#format(format) {|@builder| ... } ⇒ Object
553 554 555 556 557 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 553 def format(format) @builder.append " -format:#{@builder.format format}" yield @builder if block_given? self end |
#ignore_case {|@builder| ... } ⇒ Object
568 569 570 571 572 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 568 def ignore_case @builder.append ' -ignoreCase' yield @builder if block_given? self end |
#ignore_eol {|@builder| ... } ⇒ Object
563 564 565 566 567 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 563 def ignore_eol @builder.append ' -ignoreEol' yield @builder if block_given? self end |
#ignore_space {|@builder| ... } ⇒ Object
558 559 560 561 562 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 558 def ignore_space @builder.append ' -ignoreSpace' yield @builder if block_given? self end |
#login(username, password = nil) {|@builder| ... } ⇒ Object
588 589 590 591 592 593 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 588 def login(username, password=nil) @builder.append " -login:#{@builder.format username}" @builder.append ",#{@builder.format password}" unless password.nil? yield @builder if block_given? self end |
#no_prompt {|@builder| ... } ⇒ Object
583 584 585 586 587 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 583 def no_prompt @builder.append ' -noPrompt' yield @builder if block_given? self end |
#options {|@builder| ... } ⇒ Object
578 579 580 581 582 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 578 def @builder.append ' -options' yield @builder if block_given? self end |
#recursive {|@builder| ... } ⇒ Object
573 574 575 576 577 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 573 def recursive @builder.append ' -recursive' yield @builder if block_given? self end |
#type(file_type) {|@builder| ... } ⇒ Object
548 549 550 551 552 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 548 def type(file_type) @builder.append " -type:#{@builder.format file_type}" yield @builder if block_given? self end |
#version(version_spec) {|@builder| ... } ⇒ Object
543 544 545 546 547 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 543 def version(version_spec) @builder.append " -version:#{@builder.format version_spec}" yield @builder if block_given? self end |