Class: Cougar::CLI
- Inherits:
-
Object
- Object
- Cougar::CLI
- Defined in:
- lib/cougar/cli.rb
Instance Method Summary collapse
-
#initialize(argv) ⇒ CLI
constructor
A new instance of CLI.
- #run ⇒ Object
Constructor Details
#initialize(argv) ⇒ CLI
Returns a new instance of CLI.
7 8 9 10 11 12 13 14 15 |
# File 'lib/cougar/cli.rb', line 7 def initialize(argv) @argv = argv @options = { host: "localhost", port: 9292, config: "config.ru", environment: ENV["RACK_ENV"] || "development" } end |