Class: Train::Transports::Local::Connection
- Inherits:
-
BaseConnection
- Object
- BaseConnection
- Train::Transports::Local::Connection
- Defined in:
- lib/train/transports/local.rb
Defined Under Namespace
Classes: GenericRunner, WindowsPipeRunner, WindowsShellRunner
Instance Method Summary collapse
-
#initialize(options) ⇒ Connection
constructor
A new instance of Connection.
- #login_command ⇒ Object
- #uri ⇒ Object
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() super() @runner = if [:command_runner] force_runner([:command_runner]) else select_runner() end end |
Instance Method Details
#login_command ⇒ Object
31 32 33 |
# File 'lib/train/transports/local.rb', line 31 def login_command nil # none, open your shell end |
#uri ⇒ Object
35 36 37 |
# File 'lib/train/transports/local.rb', line 35 def uri 'local://' end |