Sha256: 2a023fda1f34154f04bad5fdee158db04784c7b107b4f901a72e3533a6229e08
Contents?: true
Size: 219 Bytes
Versions: 2
Compression:
Stored size: 219 Bytes
Contents
# frozen_string_literal: true module EncodingHelpers def win1252_string(str) str.dup.force_encoding(Encoding::Windows_1252) end def bin_string(str) str.dup.force_encoding(Encoding::ASCII_8BIT) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
prawn-2.4.0 | spec/extensions/encoding_helpers.rb |
prawn-2.3.0 | spec/extensions/encoding_helpers.rb |