<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>obelisk2</author_name>
  <author_url>https://blog.hatena.ne.jp/obelisk2/</author_url>
  <blog_title>Camera Obscura</blog_title>
  <blog_url>https://obelisk.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>削除すれば true、しなければ false を返します。なお、判断は拡張子で行っているわけではありません。 irb(main):007:0&gt; require './delete_non_img' =&gt; true irb(main):008:0&gt; Utils.delete_non_img(&quot;img.png&quot;) #削除しない =&gt; false irb(main):009:0&gt; Utils.delete_non_img(&quot;text&quot;) #削除する =&gt; true delete_non_img.rb require 'fileutils' require 'utils' module Utils d…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fobelisk.hatenablog.com%2Fentry%2F2017%2F02%2F12%2F073659&quot; title=&quot;ファイルが画像でなければ削除する（Ruby） - Camera Obscura&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-02-12 07:36:59</published>
  <title>ファイルが画像でなければ削除する（Ruby）</title>
  <type>rich</type>
  <url>https://obelisk.hatenablog.com/entry/2017/02/12/073659</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
