<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>keisuke_ohta</author_name>
  <author_url>https://blog.hatena.ne.jp/keisuke_ohta/</author_url>
  <blog_title>SUKEMATSU.NET</blog_title>
  <blog_url>https://keisukeohta.hatenablog.com/</blog_url>
  <categories>
    <anon>programming</anon>
  </categories>
  <description>表題の件です。 before hoge = &quot;hogeta hogeo&quot; if hoge.include?('hogeta') @name = 'hogeta' elsif hoge.include?('hogeo') @name = 'hogeo' else @name = 'foo' end after hoge = &quot;hogeta hogeo&quot; @name = case hoge when %r(hogeta) 'hogeta' when %r(hogeo) 'hogeo' else 'foo' end それではまた。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkeisukeohta.hatenablog.com%2Fentry%2F2016%2F06%2F08%2F154528&quot; title=&quot;［開発：Ruby］文字列のinclude?メソッドによる条件分岐をすっきり書く - SUKEMATSU.NET&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>2016-06-08 15:45:28</published>
  <title>［開発：Ruby］文字列のinclude?メソッドによる条件分岐をすっきり書く</title>
  <type>rich</type>
  <url>https://keisukeohta.hatenablog.com/entry/2016/06/08/154528</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
