Project

General

Profile

« Previous | Next » 

Revision 20e0f1e7

Added by nobu (Nobuyoshi Nakada) almost 9 years ago

object.c: fix {Module,Class}.new rdoc [ci skip]

  • object.c (rb_mod_initialize, rb_class_initialize): [DOC] these
    methods do not invoke module_eval/class_eval, just eval the
    given block under the new module/class but sharing the context
    with the surrounding scope like those methods.
    [ruby-core:77023] [Bug #12696]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e