Methods
Class Public methods
current() Link
Returns the current editor pattern if it is known. First check for the RAILS_EDITOR
environment variable, and if it’s missing, check for the EDITOR
environment variable.
register(name, url_pattern, aliases: []) Link
Registers a URL pattern for opening file in a given editor. This allows Rails
to generate clickable links to control known editors.
Example:
ActiveSupport::Editor.register
(“myeditor”, “myeditor://%s:%d”)