Method: Origami::String#to_pdfdoc
- Defined in:
- lib/origami/string.rb
#to_pdfdoc ⇒ Object
Convert String object to a PDFDocEncoding encoded binary Ruby string.
141 142 143 144 |
# File 'lib/origami/string.rb', line 141 def to_pdfdoc detect_encoding self.encoding.to_pdfdoc(self.value) end |