Sha256: 5d4c897d9aa69c30fb0cfda5b7a1d3ed4035701adcd931ecbc57c65f8a0500f3

Contents?: true

Size: 307 Bytes

Versions: 3

Compression:

Stored size: 307 Bytes

Contents

# frozen_string_literal: true

class Runger::Loaders::Base
  include ::Runger::Tracing

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

  def initialize(local:)
    @local = local
  end

  def use_local? = @local == true
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
runger_config-5.2.0 lib/runger/loaders/base.rb
runger_config-5.1.0 lib/runger/loaders/base.rb
runger_config-5.0.0 lib/runger/loaders/base.rb