Sha256: 503dc81fb959eda56ba98c90f9860e330733d550b2aa531aba15dfb537931317

Contents?: true

Size: 349 Bytes

Versions: 46

Compression:

Stored size: 349 Bytes

Contents

# frozen_string_literal: true

module LicenseFinder
  class DecisionsFactory
    @decisions = {}
    class << self
      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
    end
  end
end

Version data entries

46 entries across 46 versions & 2 rubygems

Version Path
license_finder-6.6.1 lib/license_finder/decisions_factory.rb
license_finder-6.6.0 lib/license_finder/decisions_factory.rb
license_finder-6.5.0 lib/license_finder/decisions_factory.rb
license_finder-6.4.0 lib/license_finder/decisions_factory.rb
license_finder-6.3.0 lib/license_finder/decisions_factory.rb
license_finder-6.2.0 lib/license_finder/decisions_factory.rb
license_finder-6.1.2 lib/license_finder/decisions_factory.rb
license_finder-6.1.0 lib/license_finder/decisions_factory.rb
license_finder-6.0.0 lib/license_finder/decisions_factory.rb
license_finder-5.11.1 lib/license_finder/decisions_factory.rb
license_finder-5.11.0 lib/license_finder/decisions_factory.rb
license_finder-5.10.2 lib/license_finder/decisions_factory.rb
license_finder-5.10.1 lib/license_finder/decisions_factory.rb
license_finder-5.10.0 lib/license_finder/decisions_factory.rb
license_finder-5.9.2 lib/license_finder/decisions_factory.rb
license_finder-5.9.1 lib/license_finder/decisions_factory.rb
license_finder-5.9.0 lib/license_finder/decisions_factory.rb
license_finder-5.8.0 lib/license_finder/decisions_factory.rb
license_finder-5.7.1 lib/license_finder/decisions_factory.rb
license_finder-5.7.0 lib/license_finder/decisions_factory.rb