Module: Foobara::Namespace::NamespaceHelpers::AutoRegisterInstances
- Includes:
- Concern
- Defined in:
- foobara-0.0.130/projects/namespace/src/namespace_helpers.rb
Instance Method Summary collapse
Methods included from Concern
foobara_class_methods_module_for, foobara_concern?, included
Instance Method Details
#initialize ⇒ Object
[View source]
64 65 66 67 68 69 70 71 72 73 74 75 |
# File 'foobara-0.0.130/projects/namespace/src/namespace_helpers.rb', line 64 def initialize(*, **, &) if Foobara::Util.super_method_takes_parameters?(self, AutoRegisterInstances, __method__) super else # :nocov: super() # :nocov: end ns = scoped_namespace || self.class.scoped_default_namespace ns&.(self) end |