Class: Daikon::Configuration
- Inherits:
-
Object
- Object
- Daikon::Configuration
- Defined in:
- lib/daikon/configuration.rb
Constant Summary collapse
- BLANK_KEY =
"1234567890"
- FLAGS =
["-u", "-k", "-s"]
- OPTIONS =
["redis_url", "api_key", "server_prefix"]
- DEFAULTS =
["redis://0.0.0.0:6379", BLANK_KEY, "https://radish.heroku.com"]
Instance Method Summary collapse
-
#initialize(argv = []) ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize(argv = []) ⇒ Configuration
Returns a new instance of Configuration.
10 11 12 13 14 15 16 |
# File 'lib/daikon/configuration.rb', line 10 def initialize(argv = []) @argv = argv parse validate_api_key end |