Issue #5776 has been updated by Ayumu AIZAWA.

Category set to lib
Status changed from Open to Assigned
Assignee set to Keiju Ishitsuka
Target version set to 2.0.0

1.9.3-p0??с??????????????????腆肴???????障????????
----------------------------------------
Bug #5776: irb ?????????????????у??臂???????<?純???????? public ?????
https://bugs.ruby-lang.org/issues/5776

Author: hi hibariya
Status: Assigned
Priority: Normal
Assignee: Keiju Ishitsuka
Category: lib
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2011-12-15 trunk 34056) [x86_64-darwin11.2.0] 


irb ?????????????????у??臂???????<?純????????若?喝?冴????狗????? private ??с???? public ????c?????障????障?????

-------------------------------------------------
 irb(main):001:0> def greeting
 irb(main):002:1>   'hi'
 irb(main):003:1> end
 => nil
 irb(main):004:0> val = Object.new
 => #<Object:0x007fe6ca05fd80>
 irb(main):005:0> val.greeting
 => "hi"
 irb(main):006:0> val.private_methods.grep /greeting/
 => []
 irb(main):007:0> val.public_methods.grep /greeting/
 => [:greeting]
-------------------------------------------------

public ????????? irb ??у??茵??????????????帥?с??鐚??????<?ゃ????絖??????? ruby ??潟????潟????у??茵?????????翫????? private ??<?純?????????????臂???????障??鐚????


-- 
http://redmine.ruby-lang.org