class Shitceptions::ShittyArgumentError
@author Seth Vargo <sethvargo@gmail.com>
Public Class Methods
new(klass)
click to toggle source
# File lib/shitceptions/error.rb, line 4 def initialize(klass) @klass end
Public Instance Methods
to_s()
click to toggle source
# File lib/shitceptions/error.rb, line 8 def to_s "Expected klass to be of type Class, but was #{@klass.inspect}" end