Class: FluentCommandBuilder::TeamFoundation::V100::ShowWorkspaceMappings
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundation::V100::ShowWorkspaceMappings
- Defined in:
- lib/fluent_command_builder/command_builders/team_foundation_100.rb
Instance Method Summary collapse
-
#initialize(underlying_builder, workspace_name) ⇒ ShowWorkspaceMappings
constructor
A new instance of ShowWorkspaceMappings.
- #login(username, password = nil) {|@b| ... } ⇒ Object
Methods inherited from CommandBase
Constructor Details
#initialize(underlying_builder, workspace_name) ⇒ ShowWorkspaceMappings
Returns a new instance of ShowWorkspaceMappings.
1865 1866 1867 1868 |
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1865 def initialize(, workspace_name) super @b.append " workfold /workspace:#{@b.format workspace_name}" end |
Instance Method Details
#login(username, password = nil) {|@b| ... } ⇒ Object
1869 1870 1871 1872 1873 1874 |
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 1869 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 |