Class: Cangrejo::Modes::Local
- Inherits:
-
Object
- Object
- Cangrejo::Modes::Local
- Defined in:
- lib/cangrejo/modes/local.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(_path) ⇒ Local
constructor
A new instance of Local.
- #release ⇒ Object
- #setup ⇒ Object
Constructor Details
#initialize(_path) ⇒ Local
Returns a new instance of Local.
9 10 11 |
# File 'lib/cangrejo/modes/local.rb', line 9 def initialize(_path) @path = _path end |
Instance Method Details
#release ⇒ Object
18 19 20 |
# File 'lib/cangrejo/modes/local.rb', line 18 def release @launcher.kill unless @launcher.nil? end |
#setup ⇒ Object
13 14 15 16 |
# File 'lib/cangrejo/modes/local.rb', line 13 def setup init_launcher init_rest_client end |