Class: FluentCommandBuilder::TeamFoundationTEE::V101::Print
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V101::Print
- Defined in:
- lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb
Instance Method Summary collapse
-
#initialize(underlying_builder, item_spec) ⇒ Print
constructor
A new instance of Print.
- #version(version_spec) {|@b| ... } ⇒ Object
Methods inherited from CommandBase
Constructor Details
#initialize(underlying_builder, item_spec) ⇒ Print
Returns a new instance of Print.
1160 1161 1162 1163 |
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1160 def initialize(, item_spec) super @b.append " print #{@b.format item_spec}" end |
Instance Method Details
#version(version_spec) {|@b| ... } ⇒ Object
1164 1165 1166 1167 1168 |
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1164 def version(version_spec) @b.append " -version:#{@b.format version_spec}" yield @b if block_given? self end |