Module: Enviro::Environate

Defined in:
lib/enviro/environate.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



4
5
6
7
8
9
10
11
# File 'lib/enviro/environate.rb', line 4

def self.included(base)
  base.class_eval do
    attr_accessor :environment, :configuration, :logger
  end
  base.send(:include, Enviro::Environment)
  base.send(:include, Enviro::Configuration)
  base.send(:include, Enviro::Logger)
end