{"author_name":"m_seki","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdruby.hatenablog.com%2Fentry%2F20120102%2F1325483233\" title=\"to_r - \u3082\u3057\u304f\u306fplist\u306ereal\u3092\u3069\u3046Ruby\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u5909\u63db\u3059\u308b\u304b - @m_seki \u306e\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"id:mrkn \u304c\u3068\u3061\u304eRuby\u4f1a\u8b7004\u3067\u8a71\u3057\u3066\u3044\u305f\u306e\u3067\u3001real\u306fRational\u306b\u5909\u63db\u3057\u305f\u3002\u308f\u305f\u3057\u3001\u3084\u3055\u3057\u3044\u3002 value = if $1 case $1 when 'key', 'string' ($2.include?('&')) ? CGI::unescapeHTML($2) : $2 when 'data' Base64.decode64($2) when 'date' DateTime.parse($2) when 'real' $2.to_r when 'integer' $2.to_i end elsif $3 == 'true' true elsif $3 == 'fals\u2026","height":"190","provider_name":"Hatena Blog","title":"to_r - \u3082\u3057\u304f\u306fplist\u306ereal\u3092\u3069\u3046Ruby\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u5909\u63db\u3059\u308b\u304b","author_url":"https://blog.hatena.ne.jp/m_seki/","width":"100%","categories":[],"image_url":null,"published":"2012-01-02 14:47:13","blog_title":"@m_seki \u306e","provider_url":"https://hatena.blog","version":"1.0","blog_url":"https://druby.hatenablog.com/","url":"https://druby.hatenablog.com/entry/20120102/1325483233","type":"rich"}