Class: ActionView::RenderParser::RipperASTParser::RenderCallExtractor
- Inherits:
-
NodeParser
- Object
- Ripper
- NodeParser
- ActionView::RenderParser::RipperASTParser::RenderCallExtractor
- Defined in:
- lib/action_view/ripper_ast_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.
152 153 154 155 156 |
# File 'lib/action_view/ripper_ast_parser.rb', line 152 def initialize(*args) super @render_calls = [] end |
Instance Attribute Details
#render_calls ⇒ Object (readonly)
Returns the value of attribute render_calls.
148 149 150 |
# File 'lib/action_view/ripper_ast_parser.rb', line 148 def render_calls @render_calls end |