The RDoc says it just returns public methods, but

class C
   def pub; end
   def pri; end
   def pro; end

   public :pub
   protected :pro
   private :pri
end

p M.instance_methods(false)    #=> [:pub, :pro]


I know there's #public_instance_methods, so is the RDoc wrong?



Dave