<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tamata78</author_name>
  <author_url>https://blog.hatena.ne.jp/tamata78/</author_url>
  <blog_title>気軽に楽しくプログラムと遊ぶ</blog_title>
  <blog_url>https://tamata78.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>Ruby資格取得</anon>
  </categories>
  <description>手続きオブジェクト(ブロックをオブジェクト化) 手続きオブジェクト(引数を取る) ブロック付きメソッドへ手続きオブジェクトを渡して処理する Proc.newとlambdaの違い 手続きオブジェクト内での引数の数 手続きオブジェクト内での中断 手続きオブジェクト(ブロックをオブジェクト化) &gt; f = Proc.new { puts 'OK' } =&gt; #&lt;Proc:0x007fed38859da0@(irb):1&gt; &gt; f.call OK =&gt; nil 手続きオブジェクト(引数を取る) &gt; f = Proc.new { |str| puts str } =&gt; #&lt;Proc:0x007fed38…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftamata78.hatenablog.com%2Fentry%2F2015%2F08%2F20%2F205251&quot; title=&quot;Procクラスをirbで確かめる - 気軽に楽しくプログラムと遊ぶ&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>2015-08-20 20:52:51</published>
  <title>Procクラスをirbで確かめる</title>
  <type>rich</type>
  <url>https://tamata78.hatenablog.com/entry/2015/08/20/205251</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
