Class: Devproxy::CLI
- Inherits:
-
Connection
- Object
- Struct
- Connection
- Devproxy::CLI
- Defined in:
- lib/devproxy/cli.rb
Defined Under Namespace
Constant Summary
Constants inherited from Connection
Devproxy::Connection::MAX_DOTS
Instance Attribute Summary
Attributes inherited from Connection
Instance Method Summary collapse
-
#initialize(*args) ⇒ CLI
constructor
A new instance of CLI.
- #loop! ⇒ Object
- #stop! ⇒ Object
Methods inherited from Connection
#on_close, #on_connected, #on_heartbeat, #on_stderr, #on_stdout
Constructor Details
#initialize(*args) ⇒ CLI
Returns a new instance of CLI.
13 14 15 16 |
# File 'lib/devproxy/cli.rb', line 13 def initialize *args super(*args) initialize_test_server end |
Instance Method Details
#loop! ⇒ Object
18 19 20 21 |
# File 'lib/devproxy/cli.rb', line 18 def loop! start_test_server super end |
#stop! ⇒ Object
23 24 25 26 |
# File 'lib/devproxy/cli.rb', line 23 def stop! stop_test_server super end |