Class: RubyCritic::Flay

Inherits:
Flay
  • Object
show all
Defined in:
lib/rubycritic/analysers/helpers/flay.rb

Instance Method Summary collapse

Constructor Details

#initialize(paths) ⇒ Flay

Returns a new instance of Flay.



7
8
9
10
11
12
# File 'lib/rubycritic/analysers/helpers/flay.rb', line 7

def initialize(paths)
  super()
  paths = PathExpander.new([], '').filter_files(paths, DEFAULT_IGNORE)
  process(*paths)
  analyze
end