<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sonota88</author_name>
  <author_url>https://blog.hatena.ne.jp/sonota88/</author_url>
  <blog_title>memo486</blog_title>
  <blog_url>https://memo88.hatenablog.com/</blog_url>
  <categories>
    <anon>kairo-gokko</anon>
  </categories>
  <description>目次ページに戻る / 前 / 次 前の記事に書いた dxopal_sdl.rb を使う形に書き換えます。 ここは上記の記事に書いた通り。 --- a/main.rb +++ b/main.rb @@ -1,4 +1,13 @@ -require 'dxopal' +def browser? + Kernel.const_defined?(:Native) +end + +if browser? + require &quot;dxopal&quot; +else + require &quot;./dxopal_sdl&quot; +end + include DXOpal require_remote &quot;./data.rb&quot; 実行…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemo88.hatenablog.com%2Fentry%2F2020%2F02%2F24%2F171520&quot; title=&quot;kairo-gokko (10-2) dxopal_sdl.rb を使う - memo486&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>2020-02-24 17:15:20</published>
  <title>kairo-gokko (10-2) dxopal_sdl.rb を使う</title>
  <type>rich</type>
  <url>https://memo88.hatenablog.com/entry/2020/02/24/171520</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
