IT分からんわ~_~;

IT色々お勉強中のブログ

2018-02-28から1日間の記事一覧

rubocopとの奮闘記録 途中

Use a guard clause instead of wrapping the code inside a conditional expression. 条件分岐のネストが深くなるのはダメ bad def hoge if boge? || kuzu? 'sine' end end good def hoge 'sine' if boge? || kuzu? end Don't use parentheses around the c…