{"provider_name":"Hatena Blog","type":"rich","author_url":"https://blog.hatena.ne.jp/tanakaBox/","published":"2007-04-29 01:59:00","image_url":null,"version":"1.0","url":"https://boxnos.hatenablog.com/entry/20070429/1177779540","height":"190","blog_url":"https://boxnos.hatenablog.com/","width":"100%","categories":["Ruby"],"blog_title":"\u30dc\u30af\u30ce\u30b9","provider_url":"https://hatena.blog","description":"\u4eca\u65e5\u3082\u5143\u6c17\u306bRuby\u3067\u3044\u304d\u307e\u3063\u3057\u3087\u3046\u3002 \u30a2\u30af\u30b5\u4fbf\u5229 class HelloClass attr_accessor :name def initialize(name=\"Ruby\") @name = name end # def name # @name # end # def name=(name) # @name = name # end def hello print \"Hello, \" , @name , \" World!!\\n\" end end # test ruby = HelloClass.new p ruby.name p ruby.name = \"JavaScript\" rub\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fboxnos.hatenablog.com%2Fentry%2F20070429%2F1177779540\" title=\" \u305f\u306e\u3057\u3044Ruby \u7b2c8\u7ae0 \u30af\u30e9\u30b9\u3068\u30e2\u30b8\u30e5\u30fc\u30eb - \u30dc\u30af\u30ce\u30b9\" 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":"tanakaBox","title":" \u305f\u306e\u3057\u3044Ruby \u7b2c8\u7ae0 \u30af\u30e9\u30b9\u3068\u30e2\u30b8\u30e5\u30fc\u30eb"}