Given the following Ruby code.
["fooooooooooooooooooooooooooooooooo", "baaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaar"].map.with_index { |token, index| puts "Foo" }
Running the formatter once produces this.
%w[fooooooooooooooooooooooooooooooooo baaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaar].map
.with_index { |token, index| puts "Foo" }
Running it again produces this.
%w[fooooooooooooooooooooooooooooooooo baaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaar]
.map
.with_index { |token, index| puts "Foo" }
This is with the default settings (80 line width).
Given the following Ruby code.
Running the formatter once produces this.
Running it again produces this.
This is with the default settings (80 line width).