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.
1038
1039
1040
1041
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1038
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
1058
1059
1060
1061
1062
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1058
def collection(team_project_collection_url)
@b.append " /collection:#{@b.format team_project_collection_url}"
yield @b if block_given?
self
end
|
1047
1048
1049
1050
1051
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1047
def format(format)
@b.append " /format:#{@b.format format}"
yield @b if block_given?
self
end
|
#recursive {|@b| ... } ⇒ Object
1042
1043
1044
1045
1046
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1042
def recursive
@b.append ' /recursive'
yield @b if block_given?
self
end
|
#workspace(workspace_name, workspace_owner = nil) {|@b| ... } ⇒ Object
1052
1053
1054
1055
1056
1057
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1052
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
|