Class
Spec::Matchers::Matcher
In:
lib/spec/matchers/matcher.rb
Parent:
Object
Methods
chain
description
diffable
diffable?
failure_message_for_should
failure_message_for_should_not
match
match_unless_raises
matches?
new
Included Modules
Spec::Matchers::InstanceExec
Spec::Matchers::Pretty
Spec::Matchers
Attributes
actual
[R]
expected
[R]
Public Class methods
new
(name, *expected, &declarations)
Public Instance methods
chain
(method, &block)
See
Spec::Matchers
description
(&block)
See
Spec::Matchers
diffable
()
See
Spec::Matchers
diffable?
()
Used internally by objects returns by
should
and
should_not
.
failure_message_for_should
(&block)
See
Spec::Matchers
failure_message_for_should_not
(&block)
See
Spec::Matchers
match
(&block)
See
Spec::Matchers
match_unless_raises
(exception=Exception, &block)
See
Spec::Matchers
matches?
(actual)
Used internally by objects returns by
should
and
should_not
.
[Validate]