Ruby on Rails latest stable (v4.2.7) - 0 notes - Class: ActionView::CompiledTemplates

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.0.3) is shown here.

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 provided, 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.