method

current

rails latest stable - Class: ActiveSupport::Editor

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

current()
public

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.