Sha256: 93e253c41e89f7579649d6cf9add5a72a74a43cc48aea1855c0c6282f08c4b1f

Contents?: true

Size: 389 Bytes

Versions: 5

Compression:

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

      def initialize(local:)
        @local = local
      end

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

Version data entries

5 entries across 5 versions & 1 rubygems

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