These are chat archives for dry-rb/chat
dry-containerin one of my projects, using the
#kwargs. I've just noticed that the warning for an unknown keyword doesn't fire like it used to. I'm using the
globalswhen I should be using
global_opts. Expected behaviour?
global_opts- would you mind sharing a bit more info?
ArgumentError: unknown keyword: ' . Andglobals
/global_opts` are the keywords my constructor actually uses
initializewith unwrapped keywords instead, what do you think?
initializewith zero parameters in the end, so it's gonna be safe (last words)
2.3.0 :001 > Object.new.method(:initialize) => #<Method: Object(BasicObject)#initialize> 2.3.0 :002 > Object.new.method(:initialize).parameters =>