<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>osyo-manga</author_name>
  <author_url>https://blog.hatena.ne.jp/osyo-manga/</author_url>
  <blog_title>Secret Garden(Instrumental)</blog_title>
  <blog_url>https://secret-garden.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>一人 Ruby Advent Calendar 2017 16日目の記事になります。 遅れてしまいすみません。 Ruby の ` メソッド Ruby では外部コマンドを呼び出す手段がいくつかあるんですが、以下のように ` メソッドを使用することで `{command}` の結果を戻り値として取得することができます。 p `ruby --version` # =&gt; &quot;ruby 2.4.2p198 (2017-09-14 revision 59899) [x64-mingw32]\n&quot; p `node --version` # =&gt; &quot;v8.7.0\n&quot; 標準入力など渡すことはできませんが、簡単な…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsecret-garden.hatenablog.com%2Fentry%2F2017%2F12%2F17%2F013703&quot; title=&quot;【一人 Ruby Advent Calendar 2017】` メソッドで外部コマンドの実行結果を取得する【16日目】 - Secret Garden(Instrumental)&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>2017-12-16 01:37:03</published>
  <title>【一人 Ruby Advent Calendar 2017】` メソッドで外部コマンドの実行結果を取得する【16日目】</title>
  <type>rich</type>
  <url>https://secret-garden.hatenablog.com/entry/2017/12/17/013703</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
