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

Represents an ensure expression, e.g.:

  begin
    head
  ensure
    ensr
  end

The head expression is first evaluated. After the expression is evaluated, whether or not the expression raises an exception, the ensr expression is evaluated.

See also RESCUE and RESBDOY.

Methods

ensr   head   members  

Public Class methods

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

Public Instance methods

the expression to evaluate after the head is evaluated

the body of the block to evaluate

[Validate]