>>278
irb> def nya; end
irb> p Object.private_methods.include?(:nya)
true