I wonder how one can list all methods in a module, but not including inherited methods.
eg.
module Software
def exit
puts "exited"
end
end
puts Software.methods
Will list not only exit, but all inherited methods.
Is is possible to just list exit?
Thanks