Class: Spandx::Js::Parsers::Yarn
- Inherits:
-
Core::Parser
- Object
- Core::Parser
- Spandx::Js::Parsers::Yarn
- Defined in:
- lib/spandx/js/parsers/yarn.rb
Constant Summary
Constants inherited from Core::Parser
Instance Method Summary collapse
Methods inherited from Core::Parser
Methods included from Core::Registerable
#all, #each, #inherited, #registry
Instance Method Details
#match?(filename) ⇒ Boolean
7 8 9 |
# File 'lib/spandx/js/parsers/yarn.rb', line 7 def match?(filename) filename.basename.fnmatch?('yarn.lock') end |