T
Thilina Buddhika
I am trying to get the names of the methods defined by myself in the top
scope. I tried it by using
" self.class.private_instance_methods(false).sort "
But it gives two additional methods given below.
inherited
initialize
but i want to get only the methods defined by my self. Is there any way
to solve this ?
thanks!
regards,
buddhika
scope. I tried it by using
" self.class.private_instance_methods(false).sort "
But it gives two additional methods given below.
inherited
initialize
but i want to get only the methods defined by my self. Is there any way
to solve this ?
thanks!
regards,
buddhika