{"categories":["ruby"],"author_name":"aereal","version":"1.0","url":"https://d.aereal.org/entry/20091031/1256939251","description":"module ::Boolean def then self end def else self end end class ::TrueClass include Boolean def then yield self end def else self end end class ::FalseClass include Boolean def then self end def else yield self end end \u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u306b # -> Bool \u3063\u3066\u51fa\u3066\u304f\u308b\u306e\u306b\u306a\u3044\u306e\u306f\u6c17\u6301\u3061\u60aa\u3044\u306e\u3067\u3002 \u3053\u308c\u3067\u771f\u507d\u5024\u304b\u3069\u3046\u304b\u3092 self === Boolean \u3068\u66f8\u3051\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002 \u3044\u307e\u2026","image_url":null,"height":"190","type":"rich","width":"100%","blog_url":"https://d.aereal.org/","author_url":"https://blog.hatena.ne.jp/aereal/","provider_url":"https://hatena.blog","title":" \u52dd\u624b\u306bActiveSupport\u3063\u307d\u3044\u3053\u3068\u3092\u3059\u308b\u30b7\u30ea\u30fc\u30ba","provider_name":"Hatena Blog","published":"2009-10-31 06:47:31","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fd.aereal.org%2Fentry%2F20091031%2F1256939251\" title=\" \u52dd\u624b\u306bActiveSupport\u3063\u307d\u3044\u3053\u3068\u3092\u3059\u308b\u30b7\u30ea\u30fc\u30ba - \u300e\u8a00\u8449\u3092\u5410\u304f\u300f\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u300e\u8a00\u8449\u3092\u5410\u304f\u300f"}