{"height":"190","image_url":null,"blog_url":"https://yuheikagaya.hatenablog.jp/","title":"Ruby\u3084Rails\u3067\u30e1\u30bd\u30c3\u30c9\u3092\u4e0a\u66f8\u304d\u30fb\u51e6\u7406\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5\u3044\u308d\u3044\u308d","url":"https://yuheikagaya.hatenablog.jp/entry/2015/06/16/000000","published":"2015-06-16 00:00:00","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyuheikagaya.hatenablog.jp%2Fentry%2F2015%2F06%2F16%2F000000\" title=\"Ruby\u3084Rails\u3067\u30e1\u30bd\u30c3\u30c9\u3092\u4e0a\u66f8\u304d\u30fb\u51e6\u7406\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5\u3044\u308d\u3044\u308d - yuhei.kagaya\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/yuhei_kagaya/","blog_title":"yuhei.kagaya","width":"100%","type":"rich","author_name":"yuhei_kagaya","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","version":"1.0","categories":["ruby","rails"],"description":"\u30aa\u30fc\u30d7\u30f3\u30af\u30e9\u30b9 class Hoge def hello 'HELLO' end end class Hoge def hello 'hello taro!' end end p Hoge.new.hello #=> \"hello taro!\" alias\u3067\u3044\u3063\u305f\u3093\u30e1\u30bd\u30c3\u30c9\u540d\u3092\u9000\u907f\u3059\u308b\u30c6\u30af\u30cb\u30c3\u30af class Hoge def hello 'HELLO' end end class Hoge # (3) hello2\u306e\u306a\u304b\u3067old_method(\u65e7hello\u3092\u4f7f\u3046) def hello2 old_method + \" taro!\" end alias old_method hello # (1)\u2026"}