Tom Counsell wrote:

> t.public_methods( false )  # => ["a", "c", "b"]
>
> ... so appears to be neither in the order defined, nor alphabetical and
> not random either?

To supplement the other answer:

    def doc(anObject)
        puts(anObject.class.name)

        itsMethods = anObject.public_methods() -
                                        Object.new().public_methods()

        puts(itsMethods.sort())  if !itsMethods.nil?
    end

I use that for a manual version of "intellisense", those annoying popups
that some editors use to tell you what to type next.

-- 
  Phlip
  http://industrialxp.org/community/bin/view/Main/TestFirstUserInterfaces



>
> Thanks
>
> Tom
>