Parent

Methods

Class/Module Index [+]

Quicksearch

Mocha::Thrower

Public Class Methods

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

Public Instance Methods

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.