<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ke_takahashi</author_name>
  <author_url>https://blog.hatena.ne.jp/ke_takahashi/</author_url>
  <blog_title>memorandums</blog_title>
  <blog_url>https://memorandums.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>研究でRailsのdevelopment.logを監視して，特定のキーワードが出現したら何かするツールを欲しくなりました．これまではtail -fを使っていたのですが，Windowsなどでも動作することを考えて，Rubyだけで実装したくなったわけです．Rubyでtail -fを実行する方法はないかとググると以下の記事が見つかりました．ありがとうございます． Rubyでtail -fする - Qiita 書き込まれ続けているファイルに対してtail -fのような感じで末尾の出力を読み取り続ける方法。 方法 tail_ qiita.com そのまんま利用させてもらおうとしたのですが，実はこのコード…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemorandums.hatenablog.com%2Fentry%2F2022%2F03%2F09%2F141903&quot; title=&quot;ログファイルを監視して何かするRubyコード（メモ） - memorandums&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>2022-03-09 14:19:03</published>
  <title>ログファイルを監視して何かするRubyコード（メモ）</title>
  <type>rich</type>
  <url>https://memorandums.hatenablog.com/entry/2022/03/09/141903</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
