= private = protected
This method is deprecated or moved on the latest stable version. The last existing version (v2.0.3) is shown here.
wrap_source(name, arg_names, source)
Wrap the provided source in a def … end block.
# File actionpack/lib/action_view/compiled_templates.rb, line 65 def wrap_source(name, arg_names, source) "def #{name}(#{arg_names * ', '})\n#{source}\nend" end