<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>big-eyed-hamster</author_name>
  <author_url>https://blog.hatena.ne.jp/big-eyed-hamster/</author_url>
  <blog_title>big-eyed-hamster’s diary</blog_title>
  <blog_url>https://kernelhack.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>Ruby用の共有ライブラリを記述するとき、以下のような手順を踏むことが多いです。 共有ライブラリ本体のコードを書く。 Makefileを生成するための extconf.rb を書く。 extconf.rbからMakefileを生成する。 make する。 このとき、クラス名は 共有ライブラリ本体のソースコード、extconf.rbに複数回記述されることになり、ちょいと面倒です。そこで、上記の流れを一部省略するようなスクリプトを作成してみました。現在書いてるプログラムの副産物なので、やっつけ実装ですが＾ー＾；使用方法は、作成したいクラス名をHogeとすると、 ruby libgen.rb Hog…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkernelhack.hatenablog.com%2Fentry%2F20090305%2F1236239939&quot; title=&quot;共有ライブラリ用のテンプレートを吐き出すスクリプト - big-eyed-hamster’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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-03-05 16:58:59</published>
  <title>共有ライブラリ用のテンプレートを吐き出すスクリプト</title>
  <type>rich</type>
  <url>https://kernelhack.hatenablog.com/entry/20090305/1236239939</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
