Project

General

Profile

« Previous | Next » 

Revision b88c9aa1

Added by mame (Yusuke Endoh) over 14 years ago

  • object.c (Init_Object), constant.h, variable.c
    (rb_mod_private_constant, rb_mod_public_constant,
    set_const_visibility, rb_const_get_0): add Module#public_constant
    and private_constant. [ruby-dev:39685][ruby-core:32698]

  • test/ruby/test_module.rb: add tests for above.

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