Module: Nenv

Defined in:
lib/nenv.rb,
lib/nenv/builder.rb,
lib/nenv/version.rb,
lib/nenv/environment.rb,
lib/nenv/autoenvironment.rb,
lib/nenv/environment/dumper.rb,
lib/nenv/environment/loader.rb

Defined Under Namespace

Modules: Builder Classes: AutoEnvironment, Environment

Constant Summary collapse

VERSION =
'0.1.0'

Class Method Summary collapse

Class Method Details

.instanceObject


24
25
26
# File 'lib/nenv.rb', line 24

def instance
  @instance ||= Nenv::AutoEnvironment.new
end

.method_missing(meth, *args) ⇒ Object


16
17
18
# File 'lib/nenv.rb', line 16

def method_missing(meth, *args)
  instance.send(meth, *args)
end

.resetObject


20
21
22
# File 'lib/nenv.rb', line 20

def reset
  @instance = nil
end

.respond_to?(meth) ⇒ Boolean

Returns:

  • (Boolean)

12
13
14
# File 'lib/nenv.rb', line 12

def respond_to?(meth)
  instance.respond_to?(meth)
end