lib/boilerpipe/document/text_document.rb in boilerpipe-ruby-0.4.2 vs lib/boilerpipe/document/text_document.rb in boilerpipe-ruby-0.4.3
- old
+ new
@@ -17,19 +17,17 @@
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"
end
+
+ s << text_block.text
+ s << "\n"
end
+
s
end
def replace_text_blocks!(new_blocks)
@text_blocks = new_blocks