<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>TakamiChie</author_name>
  <author_url>https://blog.hatena.ne.jp/TakamiChie/</author_url>
  <blog_title>高見知英のかいはつにっし(β)</blog_title>
  <blog_url>https://blog.onpu-tamago.net/</blog_url>
  <categories>
    <anon>プログラミング</anon>
  </categories>
  <description>Webサイト作成のためにRubyを勉強中。lambdaとかのっけからいろいろ出てきてますｗ――とりあえず、今日覚えたことは、lambdaメソッドで作るProcオブジェクトと、Object#methodで作るMethodオブジェクトの扱いは違うみたい。前者で作ったオブジェクトをcallして、さらにブロックを渡すと怒られますが、後者は怒られなかった。 mod_if = lambda{|args| p args yield 10 yield 20 yield 30 } mod_if.call([&quot;a&quot;, &quot;b&quot;, &quot;c&quot;]){|v| p v } このばあい、mod_if.callを呼んだ時点でLoc…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.onpu-tamago.net%2Fentry%2F20090216%2F1234807056&quot; title=&quot;Ruby勉強中 - 高見知英のかいはつにっし(β)&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>2009-02-16 02:57:36</published>
  <title>Ruby勉強中</title>
  <type>rich</type>
  <url>https://blog.onpu-tamago.net/entry/20090216/1234807056</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
