Class: Suspect::Prediction::Default
- Inherits:
-
Object
- Object
- Suspect::Prediction::Default
- Defined in:
- lib/suspect/prediction/default.rb
Class Method Summary collapse
Class Method Details
.paths ⇒ Object
11 12 13 14 15 16 17 18 19 20 |
# File 'lib/suspect/prediction/default.rb', line 11 def paths root_path = ::Pathname.new('.') structure = ::Suspect::Setup::Structure.new(root_path) storage_path = structure.storage_path file_helper = ::Suspect::FileUtils::Idempotent.new reader = ::Suspect::Storage::Reader.new(storage_path, file_helper) file_tree = ::Suspect::FileTree::Git::Snapshot.new Naive::AllFound.new(reader, file_tree).paths end |