Class: PDF::Reader::Page
- Inherits:
-
Object
- Object
- PDF::Reader::Page
- Defined in:
- lib/pdf/reader/html.rb
Instance Method Summary collapse
Instance Method Details
#to_html ⇒ Object
9 10 11 12 13 |
# File 'lib/pdf/reader/html.rb', line 9 def to_html self.text.split("\n").map do |paragraph| HtmlWriter.new.write_inline { |html| html.p paragraph } end end |