Sha256: c07d3e4592d036c1896ab7deb0180b510cbac78dd23da9d9de474e6987982756
Contents?: true
Size: 449 Bytes
Versions: 2
Compression:
Stored size: 449 Bytes
Contents
require 'nenv/version' require 'nenv/autoenvironment' require 'nenv/builder' def Nenv(namespace = nil) Nenv::AutoEnvironment.new(namespace) end module Nenv class << self def respond_to?(meth) instance.respond_to?(meth) end def method_missing(meth, *args) instance.send(meth, *args) end def reset @instance = nil end def instance @instance ||= Nenv::AutoEnvironment.new end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nenv-0.1.1 | lib/nenv.rb |
nenv-0.1.0 | lib/nenv.rb |