Class: LicenseFinder::DecisionsFactory

Inherits:
Object
  • Object
show all
Defined in:
lib/license_finder/decisions_factory.rb

Class Method Summary collapse

Class Method Details

.decisions(decisions_file_path) ⇒ Object



7
8
9
10
# File 'lib/license_finder/decisions_factory.rb', line 7

def decisions(decisions_file_path)
  @decisions[decisions_file_path] = Decisions.fetch_saved(decisions_file_path) if @decisions[decisions_file_path].nil?
  @decisions[decisions_file_path]
end