Class: StickyElephant::CLI
- Inherits:
-
Object
- Object
- StickyElephant::CLI
- Defined in:
- lib/sticky_elephant/cli.rb
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
3 4 5 6 7 8 |
# File 'lib/sticky_elephant/cli.rb', line 3 def run = opts_from_cli conf_path = .fetch(:configuration_path, "sticky_elephant.conf") config = Configuration.new(conf_path) Server.new(config).listen end |