lib/rubocop/cop/style/guard_clause.rb in rubocop-1.29.1 vs lib/rubocop/cop/style/guard_clause.rb in rubocop-1.30.0
- old
+ new
@@ -71,10 +71,10 @@
# # bad
# if foo?
# work
# end
#
- # do_someting
+ # do_something
#
# if bar? # <- reports an offense
# work
# end
class GuardClause < Base