<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bamch0h</author_name>
  <author_url>https://blog.hatena.ne.jp/bamch0h/</author_url>
  <blog_title>bamchoh’s diary</blog_title>
  <blog_url>https://bamch0h.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>事の発端 if_ruby を使って何かしたいなぁということで :rubyfile test.rb を実行したが、LoadError: cannot load such file -- test.rb となって実行できなかった。ただ、:ruby load &quot;test.rb&quot; は実行できるので、何が違うのか？という疑問が事の発端 vim-jp の slack で質問 slack で質問してみると :rubyfile は rubyの公開APIの rb_load() を呼んでいるだけとのこと。また、ruby load は Kernel.#load‘ を使用しているが、なぜ:rubyfile` のほうが…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbamch0h.hatenablog.com%2Fentry%2F2019%2F06%2F21%2F000743&quot; title=&quot;vim の :rubyfile は rb_load を使うが ruby の load は rb_f_load を使う - bamchoh’s diary&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>https://cdn-ak.f.st-hatena.com/images/fotolife/b/bamch0h/20190620/20190620222035.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-06-21 00:07:43</published>
  <title>vim の :rubyfile は rb_load を使うが ruby の load は rb_f_load を使う</title>
  <type>rich</type>
  <url>https://bamch0h.hatenablog.com/entry/2019/06/21/000743</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
