lib/boilerpipe/document/text_document.rb in boilerpipe-ruby-0.4.0 vs lib/boilerpipe/document/text_document.rb in boilerpipe-ruby-0.4.1

- old
+ new

@@ -17,16 +17,18 @@ s = '' @text_blocks.each do |text_block| case text_block.is_content? when true next unless include_content + s << text_block.text s << "\n" when false next unless include_noncontent - s << text_block.text - s << "\n" + + s << text_block.text + s << "\n" end end s end @@ -36,9 +38,8 @@ def debug_s @text_blocks.map(&:to_s).join("\n") end alias_method :debug_string, :debug_s - end end end