class ROM::AutoRegistrationStrategies::WithNamespace
WithNamespace
strategy assumes components are defined within a namespace that matches top-level directory name.
@api private
Public Instance Methods
call()
click to toggle source
Load components
@api private
# File lib/rom/setup/auto_registration_strategies/with_namespace.rb, line 22 def call Inflector.camelize( file.sub(%r{^#{directory.dirname}/}, '').sub(EXTENSION_REGEX, '') ) end