2008年5月25日 星期日

methods

methods:
A.methods:
show class methods
A.methods(false):
only show class methods of A, not including inherited methods
a.methods:
show instance methods of a

instance_methods:
A.instance_methods equals a.methods
A.instance_methods(false):
show only instance_methods 0f A, not including inherited methods

private_methods, public_methods, protected_methods, singleton_methods



沒有留言: