resolves #167 correctly calculate line length in Ruby 1.8
consolidate method body to one line
Merge pull request #526 from mojavelinux/ruby-1-8-line-length

resolves #167 correctly calculate line length in Ruby 1.8