lib/matchi/matchers_base.rb in matchi-1.0.3 vs lib/matchi/matchers_base.rb in matchi-1.0.4
- old
+ new
@@ -42,10 +42,10 @@
def matcher_name
self
.class
.name
- .gsub(/^Matchi::Matchers::/, '')
- .gsub(/::Matcher$/, '')
+ .gsub(/\AMatchi::Matchers::/, '')
+ .gsub(/::Matcher\z/, '')
end
end
end