Generate attribute method unless it's already in the module.
There's no harm in generating a method name that's already defined on the host class, since we're generating the attribute methods in a module that gets included. In fact, this is desirable as it allows the host class to call super.
Showing
想要评论请 注册 或 登录