<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ku-ma-me</author_name>
  <author_url>https://blog.hatena.ne.jp/ku-ma-me/</author_url>
  <blog_title>まめめも</blog_title>
  <blog_url>https://mametter.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>こないだの問題ですが、「if の前」が正解でした。 s = &quot;Hello, world!&quot; (&quot;aa&quot;..&quot;zz&quot;).each do |n| class &lt;&lt; s; self; end.class_eval do define_method(n) {|x| self } end end puts s. if false Ruby では予約語も名前に使えるよ、という小ネタでした。回答を寄せてくれた方々ありがとさんでした。 ちなみに ruby 1.8 だと正解で警告が出ますが、1.9 だと出ません。何を意味するのかはわかりませんけど。 おまけ。別解がないことの証明です。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmametter.hatenablog.com%2Fentry%2F20080206%2Fp2&quot; title=&quot; ピリオドを足せの続き - まめめも&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>2008-02-06 00:00:01</published>
  <title> ピリオドを足せの続き</title>
  <type>rich</type>
  <url>https://mametter.hatenablog.com/entry/20080206/p2</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
