Project

General

Profile

« Previous | Next » 

Revision 38269

  • eval.c (rb_mod_refine), vm_eval.c (rb_yield_refine_block):
    Module#refine activates all refinements defined in that module
    only in a given block.

  • string.c (sym_to_proc, sym_call): don't use refinements.

  • test/ruby/test_refinement.rb: related test.