Class: FluentCommandBuilder::TeamFoundation::V100::LocalVersions
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundation::V100::LocalVersions
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, item_spec) ⇒ LocalVersions
Returns a new instance of LocalVersions.
1039
1040
1041
1042
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1039
def initialize(underlying_builder, item_spec)
super underlying_builder
@b.append " localVersions #{@b.format item_spec}"
end
|
Instance Method Details
#collection(team_project_collection_url) {|@b| ... } ⇒ Object
1059
1060
1061
1062
1063
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1059
def collection(team_project_collection_url)
@b.append " /collection:#{@b.format team_project_collection_url}"
yield @b if block_given?
self
end
|
1048
1049
1050
1051
1052
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1048
def format(format)
@b.append " /format:#{@b.format format}"
yield @b if block_given?
self
end
|
#recursive {|@b| ... } ⇒ Object
1043
1044
1045
1046
1047
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1043
def recursive
@b.append ' /recursive'
yield @b if block_given?
self
end
|
#workspace(workspace_name, workspace_owner = nil) {|@b| ... } ⇒ Object
1053
1054
1055
1056
1057
1058
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1053
def workspace(workspace_name, workspace_owner=nil)
@b.append " /workspace:#{@b.format workspace_name}"
@b.append ";#{@b.format workspace_owner}" unless workspace_owner.nil?
yield @b if block_given?
self
end
|