Actions
Bug #10283
closedCalling define_method with a dynamic symbol ending in = results in a NoMethodError when calling the method via assignment, until called via send
Bug #10283:
Calling define_method with a dynamic symbol ending in = results in a NoMethodError when calling the method via assignment, until called via send
Description
This raises a NoMethodError in ruby 2.2.0preview1:
This does not, showing it is specific to dynamic symbols:
This does not, showing it is specific to symbols ending in =:
This does not, showing it works when called via send:
This does not, showing it works after calling send:
I apologize if this is already fixed in trunk.
Actions