Sha256: 14e942784ce12f959d2cc12159dab058bd0efbd5c09201111a5d445b08cff4eb

Contents?: true

Size: 377 Bytes

Versions: 19

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, **opts)
          new(local: local).call(**opts)
        end
      end

      def initialize(local:)
        @local = local
      end

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

Version data entries

19 entries across 19 versions & 1 rubygems

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