<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rubytips86</author_name>
  <author_url>https://blog.hatena.ne.jp/rubytips86/</author_url>
  <blog_title>Ruby Tips!</blog_title>
  <blog_url>https://rubytips86.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>文字列のすべてのアルファベットを小文字にするにはString#downcaseを使う。 p &quot;AbCdEf&quot;.downcase #=&gt; &quot;abcdef&quot; 逆に文字列のすべてのアルファベットを大文字にするにはString#upcaseを使う。 p &quot;AbCdEf&quot;.upcase #=&gt; &quot;ABCDEF&quot; 大文字は小文字に、小文字は大文字に変換する、String#swapcaseもある。 p &quot;AbCdEf&quot;.swapcase #=&gt; &quot;aBcDeF&quot; 文字列の先頭の文字だけ大文字にするにはString#capitalizeが利用できる。 p &quot;foo bar buz&quot;.capitalize #=…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frubytips86.hatenablog.com%2Fentry%2F2014%2F03%2F24%2F195455&quot; title=&quot;大文字と小文字を変換する - Ruby Tips!&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>2014-03-24 19:54:55</published>
  <title>大文字と小文字を変換する</title>
  <type>rich</type>
  <url>https://rubytips86.hatenablog.com/entry/2014/03/24/195455</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
