Class: Rack::Handler::Grizzly
- Inherits:
-
Object
- Object
- Rack::Handler::Grizzly
- Defined in:
- lib/rack/handler/grizzly.rb
Class Method Summary collapse
-
.method_missing(m, *args) ⇒ Object
I’m another dummy method.
- .run(rack_app, *args) ⇒ Object
-
.stop ⇒ Object
Look at me, I’m a dummy method.
Instance Method Summary collapse
- #call(env) ⇒ Object
-
#initialize(rack_app) ⇒ Grizzly
constructor
A new instance of Grizzly.
Constructor Details
#initialize(rack_app) ⇒ Grizzly
Returns a new instance of Grizzly.
40 41 42 |
# File 'lib/rack/handler/grizzly.rb', line 40 def initialize(rack_app) @rack_app = rack_app end |
Class Method Details
.method_missing(m, *args) ⇒ Object
I’m another dummy method
51 52 53 |
# File 'lib/rack/handler/grizzly.rb', line 51 def self.method_missing (m, *args) puts "Someone tried to call #{m} on Rack::Handler::Grizzly!" end |
.run(rack_app, *args) ⇒ Object
43 44 45 46 47 |
# File 'lib/rack/handler/grizzly.rb', line 43 def self.run (rack_app, *args) @rack_app = rack_app $grizzly_rack_app = rack_app #Look at me, I'm a dummy method end |
.stop ⇒ Object
Look at me, I’m a dummy method
48 49 50 |
# File 'lib/rack/handler/grizzly.rb', line 48 def self.stop #I'm another dummy method end |