Module: Linecook::Test::ClassMethods
- Defined in:
- lib/linecook/test.rb
Instance Method Summary collapse
-
#host ⇒ Object
Nil host ends up falling through to the default as configured in config/ssh.
- #use_host(host) ⇒ Object
Instance Method Details
#host ⇒ Object
Nil host ends up falling through to the default as configured in config/ssh
11 12 13 |
# File 'lib/linecook/test.rb', line 11 def host @host ||= ENV['LINECOOK_TEST_HOST'] || name end |
#use_host(host) ⇒ Object
15 16 17 |
# File 'lib/linecook/test.rb', line 15 def use_host(host) @host = host end |