lib/rubocop/cop/layout/multiline_block_layout.rb in rubocop-0.68.1 vs lib/rubocop/cop/layout/multiline_block_layout.rb in rubocop-0.69.0
- old
+ new
@@ -37,12 +37,12 @@
# }
class MultilineBlockLayout < Cop
include RangeHelp
MSG = 'Block body expression is on the same line as ' \
- 'the block start.'.freeze
+ 'the block start.'
ARG_MSG = 'Block argument expression is not on the same line as the ' \
- 'block start.'.freeze
+ 'block start.'
def on_block(node)
return if node.single_line?
unless args_on_beginning_line?(node)