Sha256: 9fe75cf982606539ea73218ded400db3e1718942f583a6abd2de15c1368832d5

Contents?: true

Size: 355 Bytes

Versions: 2

Compression:

Stored size: 355 Bytes

Contents

# frozen_string_literal: true

module Anyway
  module Loaders
    class Base
      include Tracing

      class << self
        def call(local: Anyway::Settings.use_local_files, **)
          new(local:).call(**)
        end
      end

      def initialize(local:)
        @local = local
      end

      def use_local? = @local == true
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
runger_config-3.0.1 lib/anyway/loaders/base.rb
runger_config-3.0.0 lib/anyway/loaders/base.rb