{"type":"rich","image_url":"http://ecx.images-amazon.com/images/I/51TODrMIEnL.jpg","title":"\u30e1\u30bf\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 Ruby \u7b2c\uff12\u7ae0 \u30e1\u30bd\u30c3\u30c9","url":"https://tamata78.hatenablog.com/entry/2015/08/30/073421","published":"2015-08-30 07:34:21","blog_url":"https://tamata78.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/tamata78/","width":"100%","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","version":"1.0","height":"190","author_name":"tamata78","categories":["Ruby","Ruby\u8cc7\u683c\u53d6\u5f97","\u30e1\u30bf\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u672c"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftamata78.hatenablog.com%2Fentry%2F2015%2F08%2F30%2F073421\" title=\"\u30e1\u30bf\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 Ruby \u7b2c\uff12\u7ae0 \u30e1\u30bd\u30c3\u30c9 - \u6c17\u8efd\u306b\u697d\u3057\u304f\u30d7\u30ed\u30b0\u30e9\u30e0\u3068\u904a\u3076\" 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":"\u6c17\u8efd\u306b\u697d\u3057\u304f\u30d7\u30ed\u30b0\u30e9\u30e0\u3068\u904a\u3076","description":"\u30e1\u30bf\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0Rubyposted with \u30e8\u30e1\u30ec\u30d0Paolo Perrotta KADOKAWA/\u30a2\u30b9\u30ad\u30fc\u30fb\u30e1\u30c7\u30a3\u30a2\u30ef\u30fc\u30af\u30b9 2010-08-28 \u52d5\u7684\u30e1\u30bd\u30c3\u30c9 \u30e1\u30bd\u30c3\u30c9\u540d\u3001\u5f15\u6570\u5024\u3092\u6307\u5b9a\u3057\u3066\u3001\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3073\u51fa\u3059\u3002 \u3053\u308c\u3067\u91cd\u8907\u30b3\u30fc\u30c9\u3092\u30ea\u30d5\u30a1\u30af\u30bf\u3057\u305f\u308a\u3059\u308b\u3002 class MyClass def my_method(my_arg) my_arg * 2 end end obj = MyClass.new() # \u666e\u901a\u306e\u30e1\u30bd\u30c3\u30c9\u547c\u3073\u51fa\u3057 obj.my_method(2) => 4 #\u52d5\u7684\u30e1\u30bd\u30c3\u30c9\u547c\u3073\u51fa\u3057 obj.send(:my_method, 2) => 4 #\u52d5\u7684\u30e1\u30bd\u30c3\u30c9\u547c\u3073\u51fa\u3057(\u5b58\u5728\u3057\u306a\u2026"}