<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Pocke</author_name>
  <author_url>https://blog.hatena.ne.jp/Pocke/</author_url>
  <blog_title>pockestrap</blog_title>
  <blog_url>https://pocke.hatenablog.com/</blog_url>
  <categories>
    <anon>RuboCop</anon>
    <anon>Ruby</anon>
    <anon>Programming</anon>
    <anon>作ったもの</anon>
  </categories>
  <description>github.com TL;DR ruby -cw をRuboCopのインターフェイスで扱うためのgem ruby -cwとは rubyのコマンドラインオプション。 -cを付けると、Rubyはコードを実行せず、構文のチェックのみを行う。 -c check syntax only -wを付けると、Rubyは見つけた警告をすべて報告するようになる。 -w turn warnings on for your script なお、ruby -cwではパース時のエラーしか発見できず、実行時のエラーは当然ながら発見されない。 # test.rb File.exists?('foo') ruby -w te…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpocke.hatenablog.com%2Fentry%2F2019%2F12%2F21%2F000107&quot; title=&quot;rubocop-rubycwとは - pockestrap&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>2019-12-21 00:01:07</published>
  <title>rubocop-rubycwとは</title>
  <type>rich</type>
  <url>https://pocke.hatenablog.com/entry/2019/12/21/000107</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
