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.



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_callsObject (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