Class: Train::Transports::Local::Connection
- Inherits:
-
BaseConnection
- Object
- BaseConnection
- Train::Transports::Local::Connection
show all
- Defined in:
- lib/train/transports/local.rb
Defined Under Namespace
Classes: GenericRunner, WindowsPipeRunner, WindowsShellRunner
Instance Method Summary
collapse
Constructor Details
#initialize(options) ⇒ Connection
Returns a new instance of Connection.
21
22
23
24
25
26
27
28
29
|
# File 'lib/train/transports/local.rb', line 21
def initialize(options)
super(options)
@runner = if options[:command_runner]
force_runner(options[:command_runner])
else
select_runner(options)
end
end
|
Instance Method Details
#local? ⇒ Boolean
31
32
33
|
# File 'lib/train/transports/local.rb', line 31
def local?
true
end
|
#login_command ⇒ Object
35
36
37
|
# File 'lib/train/transports/local.rb', line 35
def login_command
nil end
|
#uri ⇒ Object
39
40
41
|
# File 'lib/train/transports/local.rb', line 39
def uri
'local://'
end
|