<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>pebble8888</author_name>
  <author_url>https://blog.hatena.ne.jp/pebble8888/</author_url>
  <blog_title>Pebble Coding</blog_title>
  <blog_url>https://pebble8888.hatenablog.com/</blog_url>
  <categories>
    <anon>rails/ruby</anon>
  </categories>
  <description>rubyはたまにしかいじらないので、いつもすぐに思い出せないrubyの文法をメモしておく。 複数行コメント =begin, =end 文字列にデータ埋め込み &quot;Hello#{var}&quot; if文 if a &gt; 10 elsif a == 10 else end 真偽値 false:nilとfalse true:上記以外 ||演算子と&amp;&amp;演算子 C言語とはまったく異なる動作なので覚えるのが辛い。 A||Bでは、AがfalseならB、AがtrueならAの値 A&amp;&amp;Bでは、AがtrueならB、AがfalseならAの値 nilがfalseと判定されるのはObjective-Cと同じ。 irb(main)…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpebble8888.hatenablog.com%2Fentry%2F2015%2F01%2F01%2F014122&quot; title=&quot;ruby文法その１ - Pebble Coding&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>2015-01-01 01:41:22</published>
  <title>ruby文法その１</title>
  <type>rich</type>
  <url>https://pebble8888.hatenablog.com/entry/2015/01/01/014122</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
