<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>madogiwa0124</author_name>
  <author_url>https://blog.hatena.ne.jp/madogiwa0124/</author_url>
  <blog_title>Madogiwa Blog</blog_title>
  <blog_url>https://madogiwa0124.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>開発</anon>
  </categories>
  <description>RuboCopは、Rubocop::Cop::Copを継承することで独自のルールを追加することできるようで、 レビューでよくコメントもらう内容等、RuboCopで検知できるようになったら便利だなと思い、 ルールを作成してみたので、そのへんの手順等をMEMOしておきます✍ 公式の開発用のDocはこちら📝 docs.rubocop.org 今回作ったもの 新しいルールを作るのに必要なこと RuboCop::Cop::Copを継承したClassを作る RuboCop::Cop::Copを継承したClassのテストを書く 作成したClassを.rubocop.ymlでrequireする おわりに 追記…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmadogiwa0124.hatenablog.com%2Fentry%2F2020%2F06%2F28%2F111145&quot; title=&quot;RuboCopに自分で定義した新しいルールを追加する方法のMEMO🤖 - Madogiwa Blog&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>2020-06-28 11:11:45</published>
  <title>RuboCopに自分で定義した新しいルールを追加する方法のMEMO🤖</title>
  <type>rich</type>
  <url>https://madogiwa0124.hatenablog.com/entry/2020/06/28/111145</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
