Class: FluentCommandBuilder::TeamFoundation::V100::RemoveWorkspace
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundation::V100::RemoveWorkspace
- Defined in:
- lib/fluent_command_builder/command_builders/team_foundation_100.rb
Instance Method Summary collapse
- #collection(team_project_collection_url) {|@b| ... } ⇒ Object
-
#initialize(underlying_builder, workspace_name) ⇒ RemoveWorkspace
constructor
A new instance of RemoveWorkspace.
Methods inherited from CommandBase
Constructor Details
#initialize(underlying_builder, workspace_name) ⇒ RemoveWorkspace
Returns a new instance of RemoveWorkspace.
2146 2147 2148 2149 |
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 2146 def initialize(, workspace_name) super @b.append " workspaces /remove:#{@b.format workspace_name, ','}" end |
Instance Method Details
#collection(team_project_collection_url) {|@b| ... } ⇒ Object
2150 2151 2152 2153 2154 |
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 2150 def collection(team_project_collection_url) @b.append " /collection:#{@b.format team_project_collection_url}" yield @b if block_given? self end |