{"provider_name":"Hatena Blog","height":"190","title":"\u30ed\u30fc\u30ab\u30eb\u5909\u6570\u3068\u304b\u30b9\u30b3\u30fc\u30d7\u3068\u304b\u30e1\u30bd\u30c3\u30c9\u3068\u304b","type":"rich","author_name":"kelkronso","url":"https://kelkronso.hatenadiary.org/entry/20080806/1218033736","provider_url":"https://hatena.blog","description":"\u30ed\u30fc\u30ab\u30eb\u5909\u6570\u3068\u7b49\u53f7\u4ed8\u304d\u30e1\u30bd\u30c3\u30c9 \u30ec\u30b7\u30fc\u30d0\u3092\u7701\u7565\u3059\u308b\u3068\u30e1\u30bd\u30c3\u30c9\u3067\u306f\u306a\u304f\u30ed\u30fc\u30ab\u30eb\u5909\u6570\u3068\u3057\u3066\u6271\u308f\u308c\u307e\u3059\u3002\u666e\u901a\u306e\u30e1\u30bd\u30c3\u30c9\u306fself\u306e\u30ec\u30b7\u30fc\u30d0\u3092\u7701\u7565\u3067\u304d\u307e\u3059\u304c\u3001\u3053\u306e\u5834\u5408\u306f\u4e0d\u53ef\u3002 \u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e Ruby \u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u30de\u30cb\u30e5\u30a2\u30eb class Foo def bar=(v) end def baz bar = 0 # \u30ed\u30fc\u30ab\u30eb\u5909\u6570 bar \u3078\u306e\u4ee3\u5165 self.bar = 0 # \u30e1\u30bd\u30c3\u30c9 bar= \u306e\u547c\u3073\u51fa\u3057 end end \u4eca\u65e5\u521d\u3081\u3066\u77e5\u308a\u307e\u3057\u305f\u30b9\u30a4\u30de\u30bb\u30f3\u2026\u3002\u3069\u3053\u3089\u8fba\u3067\u52b9\u3044\u3066\u304f\u308b\u304b\u3068\u3044\u3048\u3070AR\u306e\u8fba\u308a\u3060\u3068\u601d\u3046 class MyVideo < ActiveRecord::Base def set_title\u2026","blog_url":"https://kelkronso.hatenadiary.org/","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkelkronso.hatenadiary.org%2Fentry%2F20080806%2F1218033736\" title=\"\u30ed\u30fc\u30ab\u30eb\u5909\u6570\u3068\u304b\u30b9\u30b3\u30fc\u30d7\u3068\u304b\u30e1\u30bd\u30c3\u30c9\u3068\u304b - kelkronso\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2008-08-06 23:42:16","version":"1.0","categories":["Ruby","\u6587\u6cd5"],"width":"100%","author_url":"https://blog.hatena.ne.jp/kelkronso/","blog_title":"kelkronso\u306e\u65e5\u8a18"}