method
compile_source
v1.0.0 -
Show latest stable
- Class:
ActionView::CompiledTemplates
compile_source(identifier, arg_names, source, initial_line_number = 0, file_name = nil)public
Compile the provided source code for the given argument names and with the given initial line number. The identifier should be unique to this source.
The file_name, if provided will appear in backtraces. If not provded, the file_name defaults to the identifier.
This method will return the selector for the compiled version of this method.