Class: Tennpipes::Cli::Launcher
- Inherits:
-
Thor
- Object
- Thor
- Tennpipes::Cli::Launcher
- Includes:
- Thor::Actions
- Defined in:
- lib/tennpipes-base/cli/launcher.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#start(*args) ⇒ Object
22 23 24 25 26 27 28 29 30 31 32 |
# File 'lib/tennpipes-base/cli/launcher.rb', line 22 def start(*args) prepare :start require File.("../adapter", __FILE__) require File.('config/boot.rb') if [:server_options] puts () else Tennpipes::Cli::Adapter.start(args.last ? .merge(:config => args.last).freeze : ) end end |