Sha256: 6578f8de674580c102dcb14442a7b28801ded9e87c11f8bc787e50214eda7c31

Contents?: true

Size: 365 Bytes

Versions: 18

Compression:

Stored size: 365 Bytes

Contents

# frozen_string_literal: true

module Anyway
  module Loaders
    class Base
      include Tracing

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

      def initialize(local:)
        @local = local
      end

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

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
runger_config-2.7.0 lib/anyway/loaders/base.rb
runger_config-2.6.1 lib/anyway/loaders/base.rb
runger_config-2.6.0 lib/anyway/loaders/base.rb
anyway_config-2.5.4 lib/anyway/loaders/base.rb
anyway_config-2.5.3 lib/anyway/loaders/base.rb
anyway_config-2.5.2 lib/anyway/loaders/base.rb
anyway_config-2.5.1 lib/anyway/loaders/base.rb
anyway_config-2.5.0 lib/anyway/loaders/base.rb
anyway_config-2.4.2 lib/anyway/loaders/base.rb
anyway_config-2.4.1 lib/anyway/loaders/base.rb
anyway_config-2.4.0 lib/anyway/loaders/base.rb
anyway_config-2.3.1 lib/anyway/loaders/base.rb
anyway_config-2.3.0 lib/anyway/loaders/base.rb
anyway_config-2.2.3 lib/anyway/loaders/base.rb
anyway_config-2.2.2 lib/anyway/loaders/base.rb
anyway_config-2.2.1 lib/anyway/loaders/base.rb
anyway_config-2.2.0 lib/anyway/loaders/base.rb
anyway_config-2.1.0 lib/anyway/loaders/base.rb