Project

General

Profile

« Previous | Next » 

Revision 1cd93f1c

Added by jeremyevans (Jeremy Evans) almost 5 years ago

Allow DelegateClass() to module_eval given block

Methods that return classes often module_eval the given block
(e.g. Class.new and Struct.new). This allows DelegateClass to
work similarly. This makes it easier to use DelegateClass
directly without subclassing, so as not to create an unnecessary
subclass.

Implements [Feature #15842]