Method: Nitro::Render#initialize
- Defined in:
- lib/nitro/render.rb
#initialize(context) ⇒ Object
Initialize the render.
context-
A parent render/controller acts as the context.
96 97 98 99 |
# File 'lib/nitro/render.rb', line 96 def initialize(context) @request = @response = @context = context @out = context.out end |