lib/slim_lint/matcher/capture.rb in slim_lint-0.15.1 vs lib/slim_lint/matcher/capture.rb in slim_lint-0.16.0
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
module SlimLint::Matcher
# Wraps a matcher, taking on the behavior of the wrapped matcher but storing
# the value that matched so it can be referred to later.
class Capture < Base
# @return [SlimLint::Matcher::Base] matcher that this capture wraps