Class: Ellipses::Client::Commands::Include
- Inherits:
-
Ellipses::Client::Command
- Object
- Ellipses::Client::Command
- Ellipses::Client::Commands::Include
- Defined in:
- lib/ellipses/client/commands/include.rb
Constant Summary
Constants inherited from Ellipses::Client::Command
Ellipses::Client::Command::Error
Instance Attribute Summary
Attributes inherited from Ellipses::Client::Command
Instance Method Summary collapse
Methods inherited from Ellipses::Client::Command
Methods included from Ellipses::Client::Command::DSL
Constructor Details
This class inherits a constructor from Ellipses::Client::Command
Instance Method Details
#call ⇒ Object
16 17 18 |
# File 'lib/ellipses/client/commands/include.rb', line 16 def call(*) server.dump(uri: param.uri, symbols: param.symbols, port: param.port) end |
#setup ⇒ Object
9 10 11 12 13 14 |
# File 'lib/ellipses/client/commands/include.rb', line 9 def setup source, *param.symbols = argv param.uri, param.port = source.split(':') server.available!(param.uri) end |