These are chat archives for dry-rb/chat
class AutoMe include Inject[:some_thing] def initialize(*) # stuff.. some_thing.do #NoMethodError: undefined method `do' for nil:NilClass end end
dry-auto_injectwork defined this way?
superneeded for all cases where an
initializeis defined and
#initialize, so they won't be available in a custom initializer until after you call super
initialize(*, **, &b)too, as you can inject keyword arguments, and the above will break if that happens