In Files

Parent

Methods

Class Index [+]

Quicksearch

Flt::Num::Exception

Base class for exceptions.

All exception conditions derive from this class. The exception classes also define the values returned when trapping is disable for a particular exception.

Attributes

context[R]

Public Class Methods

handle(context, *args) click to toggle source

Defines the value returned when trapping is inactive for the condition. The arguments are those passed to Context#exception after the message.

     # File lib/flt/num.rb, line 174
174:     def self.handle(context, *args)
175:     end
new(context=nil) click to toggle source
     # File lib/flt/num.rb, line 167
167:     def initialize(context=nil)
168:       @context = context
169:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.