class AssertExceptionError

Public Class Methods

new(&block) click to toggle source
# File lib/exceptions.rb, line 12
def initialize(&block)
  @msg = "Assertion " + block.to_source + " failed to throw an exception"
end

Public Instance Methods

message() click to toggle source
# File lib/exceptions.rb, line 16
def message
  @msg
end