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

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

  if /#{recv}/ then
    ...
  end

which is equivalent to:

  if /#{recv}/ =~ $_ then
    ...
  end

or a match with a regular expression on the left hand side and an expression on the right hand side, e.g.:

  /recv/ =~ value

Methods

members   recv   value  

Public Class methods

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

Public Instance methods

an expression representing the left hand side of the assignment

the value to assign to the local variable

[Validate]