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
inject
Because @injections is never set.
@injections
We can capture this and report a nice message here if @injections is nil.
Or, we can not initialize @injections in the constructor favouring lazy initialization in the injections method:
injections
def injections @injections ||= Injections.new end
The problem with the above is that, currently, injections returns a immutable value and the method is not used internally, @injections is.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Because
@injections
is never set.We can capture this and report a nice message here if
@injections
is nil.Or, we can not initialize
@injections
in the constructor favouring lazy initialization in theinjections
method:The problem with the above is that, currently, injections returns a immutable value and the method is not used internally,
@injections
is.The text was updated successfully, but these errors were encountered: