Module: Constellation

Defined in:
lib/constellation.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods Classes: ParseError

Class Method Summary collapse

Class Method Details

.enhance(klass) ⇒ Object



9
10
11
12
13
# File 'lib/constellation.rb', line 9

def self.enhance(klass)
  klass.extend Constellation::ClassMethods
  klass.env_params = {}
  klass.send :include, Constellation::InstanceMethods
end