Class Spec::Example::NoDescriptionError

  1. lib/spec/example/errors.rb
Parent: ArgumentError

Methods

public class

  1. message
  2. new

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