We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Right now, the only way is to do this:
config.component_dirs.add "some_dir" do dir.auto_register = proc do |component| relative_path = component.file_path.relative_path_from(root).to_s !relative_path.start_with?("config#{File::PATH_SEPARATOR}") end end
Which feels a bit too roundabout, and also imposes a cost on every auto-registration.
We may be able to take inspiration on how Zeitwerk does this.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Right now, the only way is to do this:
Which feels a bit too roundabout, and also imposes a cost on every auto-registration.
We may be able to take inspiration on how Zeitwerk does this.
The text was updated successfully, but these errors were encountered: