lib/rspec/apib/recorder.rb in rspec-apib-0.3.3 vs lib/rspec/apib/recorder.rb in rspec-apib-0.3.4

- old
+ new

@@ -165,10 +165,10 @@ result = [] while (i < line && lines[i].match(/\A\s*#/)) do if lines[i].match(/\A\s*# ---\s*\z/) break end - result << lines[i].sub(/^\s*#\s*/, '').strip + result << lines[i].sub(/^\s*#( |)/, '').rstrip i += 1 end return result.join("\n") end