Object#private_methods(true/false) and Object#protected_methods(true/false) not
implemented
-------------------------------------------------------------------------------------------
Key: JRUBY-980
URL: http://jira.codehaus.org/browse/JRUBY-980
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Reporter: Bill Dortch
Object#private_methods(true/false) and Object#protected_methods(true/false) not
implemented
{noformat}
irb(main):008:0> class C
irb(main):009:1> end
=> nil
irb(main):010:0> C.protected_methods
=> []
irb(main):011:0> C.protected_methods false
ArgumentError: wrong number of arguments(1 for 0)
from c:/jruby/jruby-1.0.0/lib/ruby/1.8/irb/workspace.rb:0:in `binding'
Maybe IRB bug!!
irb(main):012:0> C.new.public_methods false
=> []
irb(main):013:0> C.new.private_methods false
ArgumentError: wrong number of arguments(1 for 0)
from c:/jruby/jruby-1.0.0/lib/ruby/1.8/irb/workspace.rb:0:in `binding'
Maybe IRB bug!!
irb(main):014:0> C.new.protected_methods false
ArgumentError: wrong number of arguments(1 for 0)
from c:/jruby/jruby-1.0.0/lib/ruby/1.8/irb/workspace.rb:0:in `binding'
Maybe IRB bug!!
{noformat}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email