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

Represents a regular expression match in a conditional, e.g.:

  if /lit/ then
    ...
  end

This expression is equivalent to:

  if /lit/ =~ $_ then
    ...
  end

On ruby 1.8 and newer, this type of expression causes ruby to emit a warning, unless script is running with -e.

Methods

lit   members   value  

Public Class methods

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

Public Instance methods

the object

the value to assign to the local variable

[Validate]