instance method environment=

Ruby on Rails 3.1.12

Last seen in v3.1.12

Available in: v2.2.3 v2.3.18 v3.0.20 v3.1.12

Signature

environment=(value)

No documentation comment.

Parameters

value req
Source
# File railties/lib/rails/commands/plugin.rb, line 286
    def environment=(value)
      @environment = value
      RailsEnvironment.default = value
    end

Defined in railties/lib/rails/commands/plugin.rb line 286 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Commands::Plugin

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close