instance method
reload
Ruby on Rails edge
Since edgeSignature
reload()
Reload the cached .env values in case the file changed during runtime.
Source
# File activesupport/lib/active_support/dot_env_configuration.rb, line 47
def reload
@envs = parse_env_file
end
Defined in activesupport/lib/active_support/dot_env_configuration.rb line 47
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::DotEnvConfiguration