Fix RuboCop warnings