<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>technohippy</author_name>
  <author_url>https://blog.hatena.ne.jp/technohippy/</author_url>
  <blog_title>ずっと君のターン</blog_title>
  <blog_url>https://technohippy.hatenadiary.org/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>「Why Every Ruby Developer Should Learn Smalltalk（なぜ全てのRuby開発者がSmalltalkを学ぶべきなのか）」っていう文章がtwitterで流れてきたので読んでみた。概ね同意。みんなSmalltalkを学ぶべき。で、その中にこんな一文があった。 みんなよくRubyでは0や空配列が真と見なされることに文句を言う。 if [] puts 'true' else puts 'false' end 上のスニペットを実行すると'true'と表示されるだろう。Rubyにはこの動作を変える手段はない。 そもそも空配列や0が偽と見なされる方が変じゃないのかと…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftechnohippy.hatenadiary.org%2Fentry%2F20120418%2F1334766325&quot; title=&quot;Object#to_bool - ずっと君のターン&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-04-18 01:25:25</published>
  <title>Object#to_bool</title>
  <type>rich</type>
  <url>https://technohippy.hatenadiary.org/entry/20120418/1334766325</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
