<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>K_Koh</author_name>
  <author_url>https://blog.hatena.ne.jp/K_Koh/</author_url>
  <blog_title>Just do IT</blog_title>
  <blog_url>https://k-koh.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>REx - Ruby Examinationで出てきた問題を振り返る。 問題 次のコードを実行するとどうなりますか。 s = &lt;&lt;'EOF' Hello, Ruby EOF 'EOF' p s 解答 以下が表示される。 &quot;Hello,\nRuby\n&quot; 解説 これはヒアドキュメントという機能を使ったもの。 普通の文字列リテラルはデリミタ(&quot;, ', など)で囲まれた文字列ですが、ヒアドキュメントは&lt;&lt;識別子' を含む行の次の行から `識別子' だけの行の直前までを文字列とする行指向のリテラルです。 docs.ruby-lang.org &lt;&lt;と書いたあと、EOSなどの文字で文字列を囲むと、改行を…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fk-koh.hatenablog.com%2Fentry%2F2020%2F09%2F26%2F222020&quot; title=&quot;RExの問題を振り返る2 - Just do IT&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>2020-09-26 22:20:20</published>
  <title>RExの問題を振り返る2</title>
  <type>rich</type>
  <url>https://k-koh.hatenablog.com/entry/2020/09/26/222020</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
