str = "66" def str.show p "77" end str_clone = str.clone str_dup = str.dup str_clone.show #=> "77" str_dup.show #=> NoMethodError
百里_飞柳 发表于 2019-11-18 12:59
str 是 String类的一个实例
def str.show
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |