Sha256: 06c3ca0909a6b6b206f7cf9bd1cd49216400e11125c3b9d574db01af1439bf92
Contents?: true
Size: 167 Bytes
Versions: 2
Compression:
Stored size: 167 Bytes
Contents
class String def strip_space gsub(/\s/, '') end end def pdf_to_text(file) pdf = PDF::Toolkit.open(file) pdf.to_text.read.force_encoding('ascii-8bit') end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
medivo-0.1.7 | spec/support/helper.rb |
medivo-0.1.6 | spec/support/helper.rb |