<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ochaochaocha3</author_name>
  <author_url>https://blog.hatena.ne.jp/ochaochaocha3/</author_url>
  <blog_title>ochalog</blog_title>
  <blog_url>https://ochaochaocha3.hateblo.jp/</blog_url>
  <categories>
    <anon>プログラミング</anon>
    <anon>Ruby</anon>
  </categories>
  <description>仕事で処理を自動化したい作業があるので、前から注目していた Ruby に手を出してみた。30分触ってハマったところをメモ。 マルチバイト文字のリテラルを含む場合は冒頭で # -*- coding: utf-8 -*- などと宣言しないと invalid multibyte char と怒られる（Ruby 1.9 系列）。 数値 + 文字列 はエラー。数値.to_s で文字列に変換。 &quot;foo#{変数}bar&quot; が超便利。 書きやすいけど、型変換は JavaScript の方が楽な印象。でもファイル入出力が標準で備えられているのは強い。JavaScript でも SpiderMonkey とか …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fochaochaocha3.hateblo.jp%2Fentry%2F2012%2F09%2F05%2Fmy-first-ruby&quot; title=&quot;はじめての Ruby - ochalog&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>2012-09-05 23:19:00</published>
  <title>はじめての Ruby</title>
  <type>rich</type>
  <url>https://ochaochaocha3.hateblo.jp/entry/2012/09/05/my-first-ruby</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
