aboutsummaryrefslogtreecommitdiffstats
path: root/spec/lib/basic_encoding_tests.rb
diff options
context:
space:
mode:
authorRowan Crawford <wombleton@gmail.com>2014-03-01 22:54:00 +1300
committerRowan Crawford <wombleton@gmail.com>2014-03-01 22:54:00 +1300
commit7d4646c2a3ad98000160e30bfa92996d8c0d3b3a (patch)
tree7b44f3f3d9fd622387760955aff2568ca6414696 /spec/lib/basic_encoding_tests.rb
parent17bc0ba1bca6783b76957f5769e2e9d96d0ee8e4 (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