Sha256: 51aeeedad5993a505a13d5ce7453caf6b0bb4285e457dc4e6e6f69582ff8034e

Contents?: true

Size: 377 Bytes

Versions: 5

Compression:

Stored size: 377 Bytes

Contents

# frozen_string_literal: true

module Anyway
  module Loaders
    class Base
      include Tracing

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

      def initialize(local:)
        @local = local
      end

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
anyway_config-2.6.4 lib/.rbnext/3.2/anyway/loaders/base.rb
anyway_config-2.6.3 lib/.rbnext/3.2/anyway/loaders/base.rb
anyway_config-2.6.2 lib/.rbnext/3.2/anyway/loaders/base.rb
anyway_config-2.6.1 lib/.rbnext/3.2/anyway/loaders/base.rb
anyway_config-2.6.0 lib/.rbnext/3.2/anyway/loaders/base.rb