class Mocha::ThrownObject
Public Class Methods
Source
# File lib/mocha/thrown_object.rb, line 3 def initialize(tag, value = nil) @tag = tag @value = value end
Public Instance Methods
Source
# File lib/mocha/thrown_object.rb, line 8 def mocha_inspect "threw (#{@tag.mocha_inspect}, #{@value.mocha_inspect})" end