Class: FluentCommandBuilder::NuGet::V20::Help
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::NuGet::V20::Help
show all
- Defined in:
- lib/fluent_command_builder/command_builders/nuget_20.rb
Instance Method Summary
collapse
Methods inherited from CommandBase
#configure!, #execute!, #to_s
Constructor Details
#initialize(underlying_builder, command = nil) ⇒ Help
Returns a new instance of Help.
108
109
110
111
112
|
# File 'lib/fluent_command_builder/command_builders/nuget_20.rb', line 108
def initialize(underlying_builder, command=nil)
super underlying_builder
@b.append ' help'
@b.append " #{@b.format command}" unless command.nil?
end
|
Instance Method Details
#all {|@b| ... } ⇒ Object
113
114
115
116
117
|
# File 'lib/fluent_command_builder/command_builders/nuget_20.rb', line 113
def all
@b.append ' -All'
yield @b if block_given?
self
end
|
#help {|@b| ... } ⇒ Object
123
124
125
126
127
|
# File 'lib/fluent_command_builder/command_builders/nuget_20.rb', line 123
def help
@b.append ' -Help'
yield @b if block_given?
self
end
|
#markdown {|@b| ... } ⇒ Object
118
119
120
121
122
|
# File 'lib/fluent_command_builder/command_builders/nuget_20.rb', line 118
def markdown
@b.append ' -Markdown'
yield @b if block_given?
self
end
|