lib/mustermann/identity.rb in mustermann-0.0.1 vs lib/mustermann/identity.rb in mustermann-0.1.0
- old
+ new
@@ -4,15 +4,15 @@
# Matches strings that are identical to the pattern.
#
# @example
# Mustermann.new('/:foo', type: :identity) === '/bar' # => false
#
- # @see Pattern
+ # @see Mustermann::Pattern
# @see file:README.md#identity Syntax description in the README
class Identity < Pattern
- # @param (see Pattern#===)
- # @return (see Pattern#===)
- # @see (see Pattern#===)
+ # @param (see Mustermann::Pattern#===)
+ # @return (see Mustermann::Pattern#===)
+ # @see (see Mustermann::Pattern#===)
def ===(string)
unescape(string) == @string
end
end
end