class AssertionError
Public Class Methods
new(&block)
click to toggle source
# File lib/exceptions.rb, line 2 def initialize(&block) @msg = "Assertion " + block.to_source + " failed" end
Public Instance Methods
message()
click to toggle source
# File lib/exceptions.rb, line 6 def message @msg end