Class: Nenv::Environment

### Home Classes Methods

### In Files

- lib/nenv/environment.rb
- lib/nenv/environment/dumper.rb
- lib/nenv/environment/loader.rb

### Parent

Object

### Namespace

- CLASS Nenv::Environment::AlreadyExistsError
- CLASS Nenv::Environment::Dumper
- CLASS Nenv::Environment::Error
- CLASS Nenv::Environment::Loader
- CLASS Nenv::Environment::MethodError

### Methods

- ::create_method
- ::new
- #create_method

### Class/Module Index

Quicksearch

- Nenv
- Nenv::AutoEnvironment
- Nenv::Builder
- Nenv::Environment
- Nenv::Environment::AlreadyExistsError
- Nenv::Environment::Dumper
- Nenv::Environment::Error
- Nenv::Environment::Loader
- Nenv::Environment::MethodError
- Object

No matching classes.

# Nenv::Environment

### Public Class Methods

create_method(meth, &block) click to toggle source

    # File lib/nenv/environment.rb, line 25
    def self.create_method(meth, &block)
      _create_env_method(self, meth, &block)
    end

new(namespace = nil) click to toggle source

    # File lib/nenv/environment.rb, line 21
    def initialize(namespace = nil)
      @namespace = (namespace ? namespace.upcase : nil)
    end

### Public Instance Methods

create_method(meth, &block) click to toggle source

    # File lib/nenv/environment.rb, line 29
    def create_method(meth, &block)
      self.class._create_env_method(class << self; self; end, meth, &block)
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.