Class: ActionView::RenderParser::RipperRenderParser::RenderCallExtractor
- Inherits:
-
NodeParser
- Object
- Ripper
- NodeParser
- ActionView::RenderParser::RipperRenderParser::RenderCallExtractor
- 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
-
#render_calls ⇒ Object
readonly
Returns the value of attribute render_calls.
Instance Method Summary collapse
-
#initialize(*args) ⇒ RenderCallExtractor
constructor
A new instance of RenderCallExtractor.
Constructor Details
#initialize(*args) ⇒ RenderCallExtractor
Returns a new instance of RenderCallExtractor.
150 151 152 153 154 |
# File 'lib/action_view/render_parser/ripper_render_parser.rb', line 150 def initialize(*args) super @render_calls = [] end |
Instance Attribute Details
#render_calls ⇒ Object (readonly)
Returns the value of attribute render_calls.
146 147 148 |
# File 'lib/action_view/render_parser/ripper_render_parser.rb', line 146 def render_calls @render_calls end |