Exception: Spec::Example::NoDescriptionError
- Defined in:
- lib/vendor/plugins/rspec/lib/spec/example/errors.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(kind, location) ⇒ NoDescriptionError
constructor
A new instance of NoDescriptionError.
Constructor Details
#initialize(kind, location) ⇒ NoDescriptionError
Returns a new instance of NoDescriptionError.
20 21 22 |
# File 'lib/vendor/plugins/rspec/lib/spec/example/errors.rb', line 20 def initialize(kind, location) super(self.class.(kind, location)) end |
Class Method Details
.message(kind, location) ⇒ Object
16 17 18 |
# File 'lib/vendor/plugins/rspec/lib/spec/example/errors.rb', line 16 def (kind, location) "No description supplied for #{kind} declared on #{location}" end |