Class: ActionView::RenderParser::RipperRenderParser::RenderCallExtractor

Inherits:
NodeParser
  • Object
show all
Defined in:
lib/action_view/render_parser/ripper_render_parser.rb

Overview

:nodoc:

Constant Summary collapse

METHODS_TO_PARSE =
%w(render render_to_string)

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ RenderCallExtractor

Returns a new instance of RenderCallExtractor.



159
160
161
162
163
# File 'lib/action_view/render_parser/ripper_render_parser.rb', line 159

def initialize(*args)
  super

  @render_calls = []
end

Instance Attribute Details

#render_callsObject (readonly)

Returns the value of attribute render_calls.



155
156
157
# File 'lib/action_view/render_parser/ripper_render_parser.rb', line 155

def render_calls
  @render_calls
end