【RuboCop-Linter】align the elements of a hash literal if they span more than one line.という警告に対処する
はじめに
タイトルにも書いたとおり、 align the elements of a hash literal if they span more than one line.
という警告文に対処する方法です。
対処法
これは、2行以上であれば要素を揃えなさいという警告です。半角スペース1つでもズレていれば怒られます!
(上は半角スペース1つ分足りずに警告が出ています)
おわり
記事の内容ペラッペラですが、メモを残すことは大事というわけで...(`・ω・´)