Module: Merb::Mixins::WebController::InstanceMethods
- Defined in:
- lib/merb-parts/mixins/web_controller.rb
Instance Method Summary collapse
- #cookies ⇒ Object
- #headers ⇒ Object
- #request ⇒ Object
- #response ⇒ Object
- #route ⇒ Object
- #session ⇒ Object
- #url(name, *args) ⇒ Object
Instance Method Details
#cookies ⇒ Object
19 20 21 |
# File 'lib/merb-parts/mixins/web_controller.rb', line 19 def @web_controller. end |
#headers ⇒ Object
23 24 25 |
# File 'lib/merb-parts/mixins/web_controller.rb', line 23 def headers @web_controller.headers end |
#request ⇒ Object
15 16 17 |
# File 'lib/merb-parts/mixins/web_controller.rb', line 15 def request @web_controller.request end |
#response ⇒ Object
31 32 33 |
# File 'lib/merb-parts/mixins/web_controller.rb', line 31 def response @web_controller.response end |
#route ⇒ Object
35 36 37 |
# File 'lib/merb-parts/mixins/web_controller.rb', line 35 def route request.route end |
#session ⇒ Object
27 28 29 |
# File 'lib/merb-parts/mixins/web_controller.rb', line 27 def session @web_controller.session end |
#url(name, *args) ⇒ Object
39 40 41 |
# File 'lib/merb-parts/mixins/web_controller.rb', line 39 def url(name, *args) @web_controller.url(name, *args) end |