Class: JRuby::Lint::Collectors::Bundler

Inherits:
JRuby::Lint::Collector show all
Defined in:
lib/jruby/lint/collectors/bundler.rb

Instance Attribute Summary

Attributes inherited from JRuby::Lint::Collector

#checkers, #contents, #file, #findings, #project

Class Method Summary collapse

Methods inherited from JRuby::Lint::Collector

all, #ast, inherited, #initialize, #run

Constructor Details

This class inherits a constructor from JRuby::Lint::Collector

Class Method Details

.detect?(f) ⇒ Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/jruby/lint/collectors/bundler.rb', line 4

def self.detect?(f)
  File.basename(f) == 'Gemfile'
end