{"author_url":"https://blog.hatena.ne.jp/Sixeight/","type":"rich","categories":["ruby"],"description":"\u7814\u7a76\u7528\u306b\u66f8\u3044\u3066\u3044\u305f::Migs.describe\u304cRSpec\u306edescribe\u3068\u7af6\u5408\u3057\u3066\u3057\u307e\u3063\u3066\u56f0\u3063\u305f\u306e\u3067\u3001 module ::Migs spec do describe ::Job do # \u30c6\u30b9\u30c8\u30b3\u30fc\u30c9 end end end \u3068\u66f8\u3051\u308b\u69d8\u306bMigs.spec\u3092\u66f8\u3044\u305f\u6642\u306b\u306f\u307e\u3063\u305f\u70b9\u3092\u30e1\u30e2Migs.spec\u306e\u5b9f\u88c5\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3057\u305f module ::Migs class << self # solve duplicated describe method def spec swap_method :orig_describe, :describe yield swap_method :de\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.nishimu.land%2Fentry%2F20081121%2F1227282117\" title=\"Module#remove_method\u3067\u56f0\u3063\u305f\u4ef6 - \u3061\u306a\u307f\u306b\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","height":"190","published":"2008-11-21 00:41:57","provider_url":"https://hatena.blog","width":"100%","version":"1.0","author_name":"Sixeight","url":"https://blog.nishimu.land/entry/20081121/1227282117","blog_title":"\u3061\u306a\u307f\u306b","image_url":null,"blog_url":"https://blog.nishimu.land/","title":"Module#remove_method\u3067\u56f0\u3063\u305f\u4ef6"}