Sha256: 4fc52ae32ae467637c4f6daa1735d40cb2c8b0813c85b7bb9a9136feeeda8bb5

Contents?: true

Size: 355 Bytes

Versions: 1

Compression:

Stored size: 355 Bytes

Contents

# frozen_string_literal: true

module Runger
  module Loaders
    class Base
      include Tracing

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

      def initialize(local:)
        @local = local
      end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
runger_config-4.0.0 lib/runger/loaders/base.rb