Sha256: 0137c4193da4088210e063113ce81684ef8c65d012aca3d5020c503f125158a9

Contents?: true

Size: 371 Bytes

Versions: 19

Compression:

Stored size: 371 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: local).call(**opts)
        end
      end

      def initialize(local:)
        @local = local
      end

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

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
anyway_config-2.5.4 lib/.rbnext/3.1/anyway/loaders/base.rb
anyway_config-2.5.3 lib/.rbnext/3.1/anyway/loaders/base.rb
anyway_config-2.5.2 lib/.rbnext/3.1/anyway/loaders/base.rb
anyway_config-2.5.1 lib/.rbnext/3.1/anyway/loaders/base.rb
anyway_config-2.5.0 lib/.rbnext/3.1/anyway/loaders/base.rb
anyway_config-2.4.2 lib/.rbnext/3.1/anyway/loaders/base.rb
anyway_config-2.4.1 lib/.rbnext/3.1/anyway/loaders/base.rb
anyway_config-2.4.0 lib/.rbnext/3.1/anyway/loaders/base.rb
anyway_config-2.3.1 lib/.rbnext/3.1/anyway/loaders/base.rb
anyway_config-2.3.0 lib/.rbnext/3.1/anyway/loaders/base.rb
anyway_config-2.2.3 lib/.rbnext/3.1/anyway/loaders/base.rb
anyway_config-2.2.2 lib/.rbnext/1995.next/anyway/loaders/base.rb
anyway_config-2.2.1 lib/.rbnext/1995.next/anyway/loaders/base.rb
anyway_config-2.2.0 lib/.rbnext/1995.next/anyway/loaders/base.rb
anyway_config-2.1.0 lib/.rbnext/1995.next/anyway/loaders/base.rb
anyway_config-2.0.6 lib/anyway/loaders/base.rb
anyway_config-2.0.5 lib/anyway/loaders/base.rb
anyway_config-2.0.4 lib/anyway/loaders/base.rb
anyway_config-2.0.3 lib/anyway/loaders/base.rb