Sha256: 9c6d25f252a75ac024635fc0c0cdcf3a5b35915a7cee93330df5d2c9171ed05e

Contents?: true

Size: 380 Bytes

Versions: 12

Compression:

Stored size: 380 Bytes

Contents

# frozen_string_literal: true

require "xdg"
require "zeitwerk"

Zeitwerk::Loader.new.then do |loader|
  loader.tag = File.basename __FILE__, ".rb"
  loader.push_dir __dir__
  loader.setup
end

# Main namespace.
module Runcom
  def self.loader registry = Zeitwerk::Registry
    @loader ||= registry.loaders.find { |loader| loader.tag == File.basename(__FILE__, ".rb") }
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
runcom-11.10.0 lib/runcom.rb
runcom-11.9.0 lib/runcom.rb
runcom-11.8.0 lib/runcom.rb
runcom-11.7.0 lib/runcom.rb
runcom-11.6.0 lib/runcom.rb
runcom-11.5.0 lib/runcom.rb
runcom-11.4.1 lib/runcom.rb
runcom-11.3.0 lib/runcom.rb
runcom-11.2.0 lib/runcom.rb
runcom-11.1.0 lib/runcom.rb
runcom-11.0.0 lib/runcom.rb
runcom-10.2.1 lib/runcom.rb