Class: JRuby::Lint::Collectors::Rake
- Inherits:
-
JRuby::Lint::Collector
- Object
- JRuby::Lint::Collector
- JRuby::Lint::Collectors::Rake
- Defined in:
- lib/jruby/lint/collectors/rake.rb
Instance Attribute Summary
Attributes inherited from JRuby::Lint::Collector
#checkers, #contents, #file, #findings, #project, #stack
Class Method Summary collapse
Methods inherited from JRuby::Lint::Collector
#add_finding, all, #ast, inherited, #initialize, #run
Constructor Details
This class inherits a constructor from JRuby::Lint::Collector
Class Method Details
.detect?(f) ⇒ Boolean
4 5 6 |
# File 'lib/jruby/lint/collectors/rake.rb', line 4 def self.detect?(f) File.basename(f) == 'Rakefile' || File.extname(f) == '.rake' end |