<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ke_takahashi</author_name>
  <author_url>https://blog.hatena.ne.jp/ke_takahashi/</author_url>
  <blog_title>memorandums</blog_title>
  <blog_url>https://memorandums.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>rubyの演習課題がわからないと、とある学生から質問があり対応。エラーがなかなかわからない。。。私自身、rubyでの指導経験がないため（自分で起こしたことがないような）エラーメッセージへの対応はまだまだ不足しています。エラーの原因は全角空白でした。実験まで以下のプログラムに１行ずつ全角空白をいれてエラーメッセージをみてみましょう。見やすさのため全角空白の場所に★を記します。 ★# while true a = gets.chomp case a when &quot;1&quot; break end end 入力前に以下のエラーが発生する。 a.rb:1:in `': undefined local varia…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemorandums.hatenablog.com%2Fentry%2F2018%2F05%2F01%2F201908&quot; title=&quot;rubyのコード中に全角空白が入った場合の挙動について - memorandums&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>2018-05-01 20:19:08</published>
  <title>rubyのコード中に全角空白が入った場合の挙動について</title>
  <type>rich</type>
  <url>https://memorandums.hatenablog.com/entry/2018/05/01/201908</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
