Pattern: Missing use of ||=
Issue: -
This rule checks for potential usage of the ||=
operator.
# bad
name = name ? name : 'Bozhidar'
# bad
name = 'Bozhidar' unless name
# good - set name to 'Bozhidar', only if it's nil or false
name ||= 'Bozhidar'