Class: Noraneko::Runner

Inherits:
Object
  • Object
show all
Defined in:
lib/noraneko/runner.rb

Instance Method Summary collapse

Instance Method Details

#run(paths) ⇒ Object



5
6
7
8
9
10
# File 'lib/noraneko/runner.rb', line 5

def run(paths)
  normalized = normalize_paths(paths)
  registry = analyze_ruby_files(normalized)
  view_registry = analyze_view_files(normalized)
  Project.new(registry, view_registry).all_unuseds
end