Skip to content

Make ConfigModule Environment Aware #10

@acook

Description

@acook

You can use namespaces to select an environment, and you can pretty easily define your environment method, but maybe this should be done for us.

Example:

ENV['EXAMPLE_ENV'] = 'production'

module ConfigModule
  config_env :example
end

ConfigModule.env #=> "production"

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions