Class: Rayo::Application
- Inherits:
-
Sinatra::Base
- Object
- Sinatra::Base
- Rayo::Application
- Defined in:
- lib/rayo/application.rb
Class Attribute Summary collapse
-
.config ⇒ Object
Returns the value of attribute config.
Class Method Summary collapse
-
.configure {|@config ||= Rayo::Config.new| ... } ⇒ Object
Configure application.
Instance Method Summary collapse
Class Attribute Details
.config ⇒ Object
Returns the value of attribute config.
11 12 13 |
# File 'lib/rayo/application.rb', line 11 def config @config end |
Class Method Details
Instance Method Details
#config ⇒ Object
20 21 22 |
# File 'lib/rayo/application.rb', line 20 def config self.class.config end |