Class: FluentCommandBuilder::Tf::V2010::RemoveWorkspace
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::Tf::V2010::RemoveWorkspace
- Defined in:
- lib/fluent_command_builder/command_builders/tf_2010.rb
Instance Method Summary collapse
- #collection(team_project_collection_url) {|@builder| ... } ⇒ Object
-
#initialize(builder, workspace_name) ⇒ RemoveWorkspace
constructor
A new instance of RemoveWorkspace.
Methods inherited from CommandBase
Constructor Details
#initialize(builder, workspace_name) ⇒ RemoveWorkspace
2131 2132 2133 2134 |
# File 'lib/fluent_command_builder/command_builders/tf_2010.rb', line 2131 def initialize(builder, workspace_name) super builder @builder.append " workspaces /remove:#{@builder.format workspace_name, ','}" end |
Instance Method Details
#collection(team_project_collection_url) {|@builder| ... } ⇒ Object
2135 2136 2137 2138 2139 |
# File 'lib/fluent_command_builder/command_builders/tf_2010.rb', line 2135 def collection(team_project_collection_url) @builder.append " /collection:#{@builder.format team_project_collection_url}" yield @builder if block_given? self end |