{"blog_title":"Ruby Tips!","width":"100%","blog_url":"https://rubytips86.hatenablog.com/","categories":[],"height":"190","image_url":null,"published":"2014-04-03 11:46:34","version":"1.0","title":"\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8907\u88fd\u3059\u308b","author_url":"https://blog.hatena.ne.jp/rubytips86/","provider_name":"Hatena Blog","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frubytips86.hatenablog.com%2Fentry%2F2014%2F04%2F03%2F114634\" title=\"\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8907\u88fd\u3059\u308b - Ruby Tips!\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://rubytips86.hatenablog.com/entry/2014/04/03/114634","provider_url":"https://hatena.blog","description":"\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8907\u88fd\u3059\u308b\u306b\u306fObject#dup\u304bObject#clone\u3092\u4f7f\u3046\u3002Object#clone\u306f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u5185\u5bb9\u3060\u3051\u3067\u306a\u304f\u7279\u7570\u30e1\u30bd\u30c3\u30c9\u306a\u3069\u3082\u30b3\u30d4\u30fc\u3059\u308b\u3002\u4e00\u822c\u7684\u306b\u306fObject#dup\u3067\u5341\u5206\u3060\u3002\u4ee5\u4e0b\u306f\u6587\u5b57\u5217\u3092\u8907\u88fd\u3059\u308b\u4f8b\u3067\u3042\u308b\u3002 str = \"sample string\" def str.singleton_method; end str.taint str.freeze p str #=> \"sample string\" p str.respond_to?(:singleton_method) #=> true p str.tainted? #=> true p str.frozen\u2026","author_name":"rubytips86"}