Method: ActiveElement::PreRenderProcessors::Json#initialize
- Defined in:
- lib/active_element/pre_render_processors/json.rb
#initialize(controller:) ⇒ Json
Returns a new instance of Json.
10 11 12 |
# File 'lib/active_element/pre_render_processors/json.rb', line 10 def initialize(controller:) @controller = controller end |