{"description":"\u3055\u3066\u3001\u5148\u65e5 Ruby 2.4 \u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\u3002 Ruby 2.4.0 \u30ea\u30ea\u30fc\u30b9 [refinements \u306e\u5236\u9650\u3092\u7de9\u548c] Ruby 2.4 \u3067\u306f refinements \u306e\u5236\u9650\u304c\u7de9\u548c\u3055\u308c\u3001#send \u304b\u3089\u3082 refine \u3055\u308c\u3066\u3044\u308b\u30e1\u30bd\u30c3\u30c9\u304c\u547c\u3073\u51fa\u305b\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002 class X; end module Ex refine X do def homu p \"homu\" end end end using Ex x = X.new x.send :homu # => \"homu\" \u65e5\u9803\u304b\u3089 refinements \u30af\u30bd\u3060\uff01\u3068\u8a00\u3063\u3066\u308b\u52e2\u3068\u3057\u3066\u306f\u300e\u3084\u3063\u3068\u5bfe\u5fdc\u3055\u308c\u305f\u304b\u2026\u300f\u3068\u3044\u3046\u611f\u3058\u3002 \u4eca\u5f8c\u2026","title":"Ruby 2.4 \u3067 refinements \u306e\u5236\u9650\u304c\u7de9\u548c\u3055\u308c\u305f","type":"rich","version":"1.0","categories":["Ruby"],"provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/osyo-manga/","image_url":null,"blog_url":"https://secret-garden.hatenablog.com/","published":"2016-12-30 00:00:00","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsecret-garden.hatenablog.com%2Fentry%2F2016%2F12%2F29%2F000000\" title=\"Ruby 2.4 \u3067 refinements \u306e\u5236\u9650\u304c\u7de9\u548c\u3055\u308c\u305f - Secret Garden(Instrumental)\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"osyo-manga","provider_name":"Hatena Blog","blog_title":"Secret Garden(Instrumental)","width":"100%","height":"190","url":"https://secret-garden.hatenablog.com/entry/2016/12/29/000000"}