Class: Rack::MockRequest

Inherits:
Object show all
Defined in:
lib/mack/testing/helpers.rb

Overview

:nodoc:

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(sym, *args) ⇒ Object

:nodoc:



17
18
19
# File 'lib/mack/testing/helpers.rb', line 17

def method_missing(sym, *args)
  @app.instance_variable_get("@app").instance_variable_get("@request").send(sym, *args)
end