<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tomotomo1129</author_name>
  <author_url>https://blog.hatena.ne.jp/tomotomo1129/</author_url>
  <blog_title>Web開発における知見共有系ページ</blog_title>
  <blog_url>https://job-info.hateblo.jp/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>Rubyで無名関数の書き方 Procオブジェクト lambda 匿名関数の使い方 まとめ Rubyで無名関数の書き方 Rubyでは無名関数を作成するために、主にProcオブジェクトやlambdaを使用します。 無名関数とは、名前を持たない関数で、通常はコードの中で一時的に使われる関数です。 以下に、それぞれの方法について詳しく説明します。 Procオブジェクト ProcはRubyのクラスで、コードブロックをオブジェクトとして扱います。 Procオブジェクトは、変数に代入したり、引数として渡したりすることができます。 Procオブジェクトを作成するには、Proc.newまたはprocメソッドを使…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjob-info.hateblo.jp%2Fentry%2F2024%2F08%2F24%2F171137&quot; title=&quot;Rubyで無名関数の書き方 - Web開発における知見共有系ページ&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>2024-08-24 17:11:37</published>
  <title>Rubyで無名関数の書き方</title>
  <type>rich</type>
  <url>https://job-info.hateblo.jp/entry/2024/08/24/171137</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
