Sha256: d43e3ced5fa45cac6be33ff3bb5a4de090299c8b2c940067588787bec6bf1508
Contents?: true
Size: 650 Bytes
Versions: 3
Compression:
Stored size: 650 Bytes
Contents
# frozen_string_literal: true require "zeitwerk" Zeitwerk::Loader.new.then do |loader| loader.tag = File.basename __FILE__, ".rb" loader.push_dir __dir__ loader.setup end # Main namespace. module Marameters KINDS = %i[req opt rest nokey keyreq key keyrest block].freeze def self.loader registry = Zeitwerk::Registry @loader ||= registry.loaders.find { |loader| loader.tag == File.basename(__FILE__, ".rb") } end def self.categorize(parameters, arguments) = Categorizer.new(parameters).call(arguments) def self.of(...) = Probe.of(...) def self.for(...) = Probe.new(...) def self.signature(...) = Signature.new(...) end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
marameters-3.12.0 | lib/marameters.rb |
marameters-3.11.0 | lib/marameters.rb |
marameters-3.10.0 | lib/marameters.rb |