class ROM::AutoRegistrationStrategies::NoNamespace
NoNamespace
strategy assumes components are not defined within a namespace
@api private
Public Instance Methods
call()
click to toggle source
Load components
@api private
# File lib/rom/setup/auto_registration_strategies/no_namespace.rb, line 26 def call Inflector.camelize( file.sub(%r{^#{directory}/#{entity}/}, '').sub(EXTENSION_REGEX, '') ) end