{"title":"Struct","blog_title":"rubyco\uff08\u308b\u3073\u3053\uff09\u306e\u65e5\u8a18","author_url":"https://blog.hatena.ne.jp/rubyco/","description":"Struct\u30af\u30e9\u30b9\u3092\u4f7f\u3063\u3066\u3001\u69cb\u9020\u4f53\u30af\u30e9\u30b9\u3092\u4f5c\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 \u69cb\u9020\u4f53\u30af\u30e9\u30b9\u306b\u306f\u81ea\u52d5\u7684\u306b\u30a2\u30af\u30bb\u30b5\u304c\u4f5c\u3089\u308c\u307e\u3059\u3002 \u4ee5\u4e0b\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u306f\u3001People\u3068\u3044\u3046\u30af\u30e9\u30b9\u3092\u4f5c\u3063\u3066\u3044\u307e\u3059\u3002 People = Struct.new('People', :name, :age, :mail) alice = People.new('Alice', 23, 'alice@example.com') p alice.name #=> \"Alice\" p alice.age #=> 23 p alice.mail #=> \"alice@example.com\"","width":"100%","published":"2006-03-10 00:00:01","blog_url":"https://rubyco.hatenadiary.org/","url":"https://rubyco.hatenadiary.org/entry/20060310/struct","image_url":null,"provider_url":"https://hatena.blog","author_name":"rubyco","type":"rich","provider_name":"Hatena Blog","version":"1.0","categories":[],"height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frubyco.hatenadiary.org%2Fentry%2F20060310%2Fstruct\" title=\"Struct - rubyco\uff08\u308b\u3073\u3053\uff09\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>"}