Parent

Methods

Class Index [+]

Quicksearch

Mocha::Thrower

Public Class Methods

new(tag, object = nil) click to toggle source
   # File lib/mocha/thrower.rb, line 5
5:     def initialize(tag, object = nil)
6:       @tag, @object = tag, object
7:     end

Public Instance Methods

evaluate() click to toggle source
    # File lib/mocha/thrower.rb, line 9
 9:     def evaluate
10:       throw @tag, @object
11:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.