<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>koic</author_name>
  <author_url>https://blog.hatena.ne.jp/koic/</author_url>
  <blog_title>koicの日記</blog_title>
  <blog_url>https://koic.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>実装していたのは4日、5日前くらいで今回マージされた cop となる。 github.com Ruby 2.0 で導入された擬似変数 __dir__ を File.expand_path や Pathname() の引数に使える局面で __FILE__ より好んで使いましょうということをチェックする。 PR の Description から引用するとこうなる。特に最後に示している引数が変数や式展開のケースは渡ってくるパスが特定できないのでチェックをしないようにしている。 Summary This cop checks for use of the File.expand_path argume…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkoic.hatenablog.com%2Fentry%2Fadd-new-style-expand-path-arguments-cop&quot; title=&quot;`Style/ExpandPathArguments` copを実装した - koicの日記&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>2018-02-10 00:00:00</published>
  <title>`Style/ExpandPathArguments` copを実装した</title>
  <type>rich</type>
  <url>https://koic.hatenablog.com/entry/add-new-style-expand-path-arguments-cop</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
