v1.2.6 - Show latest stable - 0 notes - 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.

Show source
Register or log in to add new notes.