lib/matchi/matcher/eq.rb in matchi-rspec-1.1.1 vs lib/matchi/matcher/eq.rb in matchi-rspec-1.1.2
- old
+ new
@@ -4,10 +4,14 @@
# Namespace for the Matchi library.
module Matchi
# Collection of matcher classes.
module Matcher
- # **Equivalence** matcher.
+ # *Equivalence* matcher.
+ #
+ # @example
+ # eql = Matchi::Matcher::Eql.new("foo")
+ # eql.matches? { "foo" } # => true
class Eq < ::Matchi::Matcher::Eql
end
end
end