rubyworks/tomparse — pull request #2 by hasclass (2012-03-19 07:28:17+00:00)
Title: Correctly intend multiline code examples

# Examples
#
# def multiplex(str, length)
# str * length
# end

Results currently in (dots shows whitespace):

def multiplex(str, length)
....str * length
..end

And not:

def multiplex(str, length)
..str * length
end

I fixed this to #gsub the two \s at the beginning of the line, instead of #strip. Also added one more comment example in the testcase.