Class: Stowaway::Matcher
- Inherits:
-
Object
- Object
- Stowaway::Matcher
- Defined in:
- lib/stowaway/matcher.rb
Instance Method Summary collapse
Instance Method Details
#match?(line, file) ⇒ Boolean
5 6 7 8 9 10 11 12 |
# File 'lib/stowaway/matcher.rb', line 5 def match?(line, file) @line, @file = line, file html_attr_ref? || haml_attr_ref? || rails_js_ref? || rails_css_ref? || css_url_ref? end |