Class: Object

Class | Object
In: | lib/meta.rb
Parent: | Object

A set of methods to help create meta-programming gizmos.

### Methods

class_def meta_def meta_eval meta_include metaclass

### Public Instance methods

class_def(name, &blk)

Defines an instance method within a class

meta_def(name, &blk)

Adds methods to a metaclass

meta_eval(&blk)

Evaluates the block in the context of the metaclass

meta_include(mod)

Acts like an include except it adds the module‘s methods to the metaclass so they act like class methods.

metaclass()

The metaclass is the singleton behind every object.

[Validate]