Module: Mycroft
- Extended by:
- Mycroft
- Included in:
- Mycroft
- Defined in:
- lib/mycroft.rb,
lib/mycroft/cli.rb,
lib/mycroft/client.rb,
lib/mycroft/helpers.rb,
lib/mycroft/version.rb,
lib/mycroft/messages.rb
Defined Under Namespace
Modules: Helpers, Messages Classes: CLI, Client
Constant Summary collapse
- MYCROFT_PORT =
1847
- VERSION =
"0.1.2"
Instance Method Summary collapse
Instance Method Details
#start(app, host = 'localhost', port = MYCROFT_PORT) ⇒ Object
11 12 13 |
# File 'lib/mycroft.rb', line 11 def start(app, host='localhost', port=MYCROFT_PORT) app.new(host || 'localhost' , port || MYCROFT_PORT) end |