<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>m_seki</author_name>
  <author_url>https://blog.hatena.ne.jp/m_seki/</author_url>
  <blog_title>@m_seki の</blog_title>
  <blog_url>https://druby.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>id:mrkn がとちぎRuby会議04で話していたので、realはRationalに変換した。わたし、やさしい。 value = if $1 case $1 when 'key', 'string' ($2.include?('&amp;')) ? 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…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdruby.hatenablog.com%2Fentry%2F20120102%2F1325483233&quot; title=&quot;to_r - もしくはplistのrealをどうRubyオブジェクトに変換するか - @m_seki の&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-01-02 14:47:13</published>
  <title>to_r - もしくはplistのrealをどうRubyオブジェクトに変換するか</title>
  <type>rich</type>
  <url>https://druby.hatenablog.com/entry/20120102/1325483233</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
