<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sumim</author_name>
  <author_url>https://blog.hatena.ne.jp/sumim/</author_url>
  <blog_title>Smalltalkのtは小文字です</blog_title>
  <blog_url>https://sumim.hatenablog.com/</blog_url>
  <categories>
    <anon>OOPL</anon>
  </categories>
  <description>Smalltalk と Ruby の類似性の高さに引きずられて、とんでもない勘違いをしていたので改めて自分用のまとめを兼ねてメモ。またおかしいところがあったらツッコミ、お願いします。 Ruby 1.8 の String の Enumerable なメソッドは Smalltalk のような文字ごとではなく、行を単位とする。その際、区切りの \n は取り払われない。 Ruby 1.8 &gt;&gt; &quot;abc\n123\n&quot;.each{ |ea| p ea } &quot;abc\n&quot; &quot;123\n&quot; #each_line も同じ。というか、#each は #each_line のエイリアスみたいな位置づけ？ &gt;&gt; …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsumim.hatenablog.com%2Fentry%2F20080328%2Fp1&quot; title=&quot; Ruby と Squeak Smalltalk の行単位文字列操作について - Smalltalkのtは小文字です&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>2008-03-28 00:00:00</published>
  <title> Ruby と Squeak Smalltalk の行単位文字列操作について</title>
  <type>rich</type>
  <url>https://sumim.hatenablog.com/entry/20080328/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
