Class: FluentCommandBuilder::TeamFoundationTEE::V101::Branches
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V101::Branches
show all
- Defined in:
- lib/fluent_command_builder/command_builders/team_foundation_tee_101.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.
299
300
301
302
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 299
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
308
309
310
311
312
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 308
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
313
314
315
316
317
318
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 313
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
303
304
305
306
307
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 303
def version(version_spec)
@b.append " -version:#{@b.format version_spec}"
yield @b if block_given?
self
end
|