Module: Octarine::App
- Extended by:
- Forwardable
- Defined in:
- lib/octarine/app.rb
Defined Under Namespace
Modules: ClassMethods
Instance Attribute Summary collapse
-
#request_class ⇒ Object
readonly
Returns the value of attribute request_class.
-
#router ⇒ Object
readonly
:method: call :call-seq: app.call(env) -> array.
Class Method Summary collapse
-
.included(includer) ⇒ Object
:nodoc:.
Instance Attribute Details
#request_class ⇒ Object (readonly)
Returns the value of attribute request_class.
116 117 118 |
# File 'lib/octarine/app.rb', line 116 def request_class @request_class end |
#router ⇒ Object (readonly)
:method: call :call-seq: app.call(env) -> array
Rack-compatible #call method.
124 125 126 |
# File 'lib/octarine/app.rb', line 124 def router @router end |
Class Method Details
.included(includer) ⇒ Object
:nodoc:
126 127 128 |
# File 'lib/octarine/app.rb', line 126 def self.included(includer) # :nodoc: includer.extend(ClassMethods) end |