{"version":"1.0","categories":["Ruby"],"title":" \u751f\u6210\u3055\u308c\u3066\u3044\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u4e00\u89a7\u306e\u53d6\u5f97","type":"rich","width":"100%","author_name":"unageanu","author_url":"https://blog.hatena.ne.jp/unageanu/","published":"2008-01-26 18:50:32","provider_url":"https://hatena.blog","image_url":null,"height":"190","description":"Deamonize\u306e\u30bd\u30fc\u30b9\u3088\u308a\u3002ObjectSpace.each_object()\u3092\u4f7f\u3046\u3068\u3001\u751f\u6210\u3055\u308c\u3066\u3044\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u4e00\u89a7\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002\u5f15\u6570\u3067\u30af\u30e9\u30b9or\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u6307\u5b9a\u3059\u308b\u3068\u3001\u305d\u306e\u30af\u30e9\u30b9or\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u7d99\u627f\u3059\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u5217\u6319\u3055\u308c\u307e\u3059\u3002 # \u306d\u3053 class Kitten def initialize( name, children=[] ) @name = name @children = children end attr :name end # \u306d\u3053\u30923x3\u4f5c\u6210\u3002 kittens = [] 3.times {|i| name = \"kitten-\" + i.to_s childre\u2026","url":"https://unageanu.hatenablog.com/entry/20080126/1201341032","provider_name":"Hatena Blog","blog_title":"\u3046\u306a\u306e\u65e5\u8a18","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Funageanu.hatenablog.com%2Fentry%2F20080126%2F1201341032\" title=\" \u751f\u6210\u3055\u308c\u3066\u3044\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u4e00\u89a7\u306e\u53d6\u5f97 - \u3046\u306a\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>","blog_url":"https://unageanu.hatenablog.com/"}