gamebox icon indicating copy to clipboard operation
gamebox copied to clipboard

In code_statistics.rb warning about mismatched indentation

Open ghost opened this issue 12 years ago • 0 comments

code_statistics.rb uses

private

Then adds a two level indent.

I guess this is your style :) so no problem there, only that the ruby warning is a bit annoying.

My suggestion to fix:

perhaps move the last occuring "end" to be on the same indent level as the leading

class CodeStatistics

end

Right now it is:

class CodeStatistics

' 'end # notice the two ' '

ghost avatar May 29 '12 21:05 ghost