diff options
author | Rowan Crawford <wombleton@gmail.com> | 2014-03-01 22:54:00 +1300 |
---|---|---|
committer | Rowan Crawford <wombleton@gmail.com> | 2014-03-01 22:54:00 +1300 |
commit | 7d4646c2a3ad98000160e30bfa92996d8c0d3b3a (patch) | |
tree | 7b44f3f3d9fd622387760955aff2568ca6414696 /spec/lib/basic_encoding_tests.rb | |
parent | 17bc0ba1bca6783b76957f5769e2e9d96d0ee8e4 (diff) |
Handle UndefinedConversionError when converting to utf-8
From: http://ruby-doc.org/core-2.0/String.html#method-i-encode
Ducktypes for having encode rather than relying on RUBY_VERSION
Diffstat (limited to 'spec/lib/basic_encoding_tests.rb')
0 files changed, 0 insertions, 0 deletions