はてなブックマーク - AOP はよく分からないが Module#method_added がクールだと思う « blog.udzura.jp https://b.hatena.ne.jp/entry/blog.udzura.jp/2011/12/09/method-added-is-cool/ $ ruby method_added.rb added method is: #<UnboundMethod: Foo#x> defined in: Foo has 0 argument(s) added method is: #<UnboundMethod: Foo#y> defined in: Foo has 3 argument(s) ちなみに余談だが、 Unbou... mathemathiko https://b.hatena.ne.jp/mathemathiko/20130708#bookmark-71368121 なにこれかっこいい。UnboundMethodとかModule#instance_methodも初見だったり。 2013-07-08T13:24:36Z ruby yacchicc https://b.hatena.ne.jp/yacchicc/20130210#bookmark-71368121 2013-02-10T14:15:38Z h6n https://b.hatena.ne.jp/h6n/20120603#bookmark-71368121 2012-06-03T05:44:53Z method_added ruby yo_waka https://b.hatena.ne.jp/yo_waka/20120523#bookmark-71368121 2012-05-23T09:55:09Z ruby terut https://b.hatena.ne.jp/terut/20120125#bookmark-71368121 2012-01-25T09:51:28Z ruby metaprogramming sasaplus1 https://b.hatena.ne.jp/sasaplus1/20111212#bookmark-71368121 2011-12-11T17:02:18Z Groovy Ruby fumokmm https://b.hatena.ne.jp/fumokmm/20111212#bookmark-71368121 2011-12-11T16:43:01Z Groovy Ruby akishin999 https://b.hatena.ne.jp/akishin999/20111210#bookmark-71368121 2011-12-10T02:21:39Z ruby voidy21 https://b.hatena.ne.jp/voidy21/20111210#bookmark-71368121 2011-12-10T01:50:37Z ruby aereal https://b.hatena.ne.jp/aereal/20111210#bookmark-71368121 *evalとか*definedとかあそこらへん充実してるし黒魔術 つかうのに申し分ないですね 2011-12-09T16:43:41Z Ruby metaprogramming yayugu https://b.hatena.ne.jp/yayugu/20111209#bookmark-71368121 2011-12-09T10:52:20Z o_show https://b.hatena.ne.jp/o_show/20111209#bookmark-71368121 "Module#method_added は、例の『メタプログラミングRuby』にも載っていないメソッド" 2011-12-09T10:42:04Z Ruby udzura https://b.hatena.ne.jp/udzura/20111209#bookmark-71368121 意識低まったので、回復するために書いた 2011-12-09T10:07:47Z ruby metaprogramming