Public class methods
message
(kind, location)
[show source]
# File lib/spec/example/errors.rb, line 16 def message(kind, location) "No description supplied for #{kind} declared on #{location}" end
new
(kind, location)
[show source]
# File lib/spec/example/errors.rb, line 20 def initialize(kind, location) super(self.class.message(kind, location)) end