Module: InjectableRailsEnv

Defined in:
lib/injectable_rails_env.rb,
lib/injectable_rails_env/version.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Constant Summary collapse

SUPPORTED_ENVS =
%w(test development production staging integration ci)
VERSION =
"0.0.2"

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



7
8
9
10
11
12
13
14
# File 'lib/injectable_rails_env.rb', line 7

def self.included(base)
  base.class_eval do
    attr_writer :rails_env

    include InstanceMethods
    extend ClassMethods
  end
end