def function666(x);end p method(:function666) #=> #<Method: main.function666> p method(:function666).owner #=> Object p self.private_methods.include?(:function666) #=> true p Object.private_methods.include?(:function666) #=> true
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |