Class: FluentCommandBuilder::TeamFoundationTEE::V100::Branches
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V100::Branches
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) ⇒ Branches
Returns a new instance of Branches.
287
288
289
290
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 287
def initialize(underlying_builder, item_spec)
super underlying_builder
@b.append " branches #{@b.format item_spec}"
end
|
Instance Method Details
#collection(team_project_collection_url) {|@b| ... } ⇒ Object
296
297
298
299
300
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 296
def collection(team_project_collection_url)
@b.append " -collection:#{@b.format team_project_collection_url}"
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
301
302
303
304
305
306
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 301
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
|
#version(version_spec) {|@b| ... } ⇒ Object
291
292
293
294
295
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 291
def version(version_spec)
@b.append " -version:#{@b.format version_spec}"
yield @b if block_given?
self
end
|