Class: FluentCommandBuilder::TeamFoundationTEE::V101::Help
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V101::Help
- Defined in:
- lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb
Instance Method Summary collapse
-
#initialize(underlying_builder, command = nil) ⇒ Help
constructor
A new instance of Help.
- #listexitcodes {|@b| ... } ⇒ Object
Methods inherited from CommandBase
Constructor Details
#initialize(underlying_builder, command = nil) ⇒ Help
Returns a new instance of Help.
846 847 848 849 850 |
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 846 def initialize(, command=nil) super @b.append ' help' @b.append " #{@b.format command}" unless command.nil? end |
Instance Method Details
#listexitcodes {|@b| ... } ⇒ Object
851 852 853 854 855 |
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 851 def listexitcodes @b.append ' -listexitcodes]' yield @b if block_given? self end |