开发者

remove-method

0
  • Ruby - How to remove a setter on an object

    Given a class like this: class B class <<开发者_Python百科; self attr_accessor :var end end Suppose I can\'t modify the original source code of class B.How might I go about removing the setter[详细]

    2022-12-23 23:53 分类:问答