Class: FluentCommandBuilder::TeamFoundation::V100::Configure
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundation::V100::Configure
show all
- Defined in:
- lib/fluent_command_builder/command_builders/team_foundation_100.rb
Instance Method Summary
collapse
Methods inherited from CommandBase
#configure!, #execute!, #to_s
Constructor Details
#initialize(underlying_builder, path_of_team_project = nil) ⇒ Configure
Returns a new instance of Configure.
497
498
499
500
501
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 497
def initialize(underlying_builder, path_of_team_project=nil)
super underlying_builder
@b.append ' configure'
@b.append " #{@b.format path_of_team_project}" unless path_of_team_project.nil?
end
|
Instance Method Details
#collection(team_project_collection_url) {|@b| ... } ⇒ Object
502
503
504
505
506
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 502
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
507
508
509
510
511
512
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 507
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
|