Actions
Feature #19466
closedClass.new takes a block, why doesn't Module.new take a block?
Status:
Closed
Assignee:
-
Target version:
-
Description
Class.new do
#... equivalent to class_eval
end
So, why don't we introduce:
Module.new do
#... equivalent to class_eval
end
Actions
Like0
Like1Like0Like1