관리-도구
편집 파일: singleton_method_undefined-i.yaml
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Invoked as a callback whenever a singleton method is undefined in the receiver. - !ruby/struct:SM::Flow::VERB body: " module Chatty\n def Chatty.singleton_method_undefined(id)\n puts "Undefining #{id.id2name}"\n end\n def Chatty.one() end\n class << self\n undef_method(:one)\n end\n end\n" - !ruby/struct:SM::Flow::P body: <em>produces:</em> - !ruby/struct:SM::Flow::VERB body: " Undefining one\n" full_name: Object#singleton_method_undefined is_singleton: false name: singleton_method_undefined params: | singleton_method_undefined(symbol) visibility: public