class JRuby::Lint::Collectors::Rake

Public Class Methods

detect?(f) click to toggle source
# File lib/jruby/lint/collectors/rake.rb, line 4
def self.detect?(f)
  File.basename(f) == 'Rakefile' || File.extname(f) == '.rake'
end