Actions
Feature #19466
closedClass.new takes a block, why doesn't Module.new take a block?
Feature #19466:
Class.new takes a block, why doesn't Module.new take a block?
Status:
Closed
Assignee:
-
Target version:
-
Actions
Added by ioquatix (Samuel Williams) over 3 years ago. Updated over 3 years ago.
It does.
Ahh, I tried this but I must have made a mistake. So why does EnvUtil not use this? Maybe it's legacy?
Okay, I confirmed it's working by my own hand, haha. I must work too hard this week, my brain is not functioning correctly.
I updated the PR to take advantage of that. In fact, it was right in front of me the whole time.