Sha256: c684b8656ec649d5cd3e64ce3f6d20b3bd3c7549edab34143659e34d64480041
Contents?: true
Size: 678 Bytes
Versions: 1
Compression:
Stored size: 678 Bytes
Contents
# frozen_string_literal: true require "rom/types" require "rom/initializer" require "rom/support/inflector" module ROM module AutoRegistrationStrategies # Base class for registration strategies # # @api private class Base extend Initializer PathnameType = Types.Instance(Pathname) EXTENSION_REGEX = /\.rb\z/.freeze # @!attribute [r] file # @return [String] Name of a component file option :file, type: Types::Strict::String # @!attribute [r] inflector # @return [Dry::Inflector] String inflector # @api private option :inflector, reader: true, default: -> { Inflector } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rom-6.0.0.alpha1 | lib/rom/compat/auto_registration_strategies/base.rb |