Class Node::CLASS
In: ext/nodeinfo.c
Parent: Node

Represents a class definition, e.g.:

  class cpath
    body
  end

or:

  class cpath < super
    body
  end

The class definition is evaluated in a new lexical scope.

The result of the expression is the last expression evaluated in the body.

Methods

body   cpath   members   super  

Public Class methods

Return an array of strings containing the names of the node class‘s members.

Public Instance methods

the body of the loop

the name of the module to define

an expression returning the base class, or false if there is no base class specified

[Validate]