Sha256: 35015e1b43bbfb46fb1eee2b4531134c72dddc2fd5d179b627eca3a9697c9f11
Contents?: true
Size: 351 Bytes
Versions: 1
Compression:
Stored size: 351 Bytes
Contents
if RUBY_VERSION < '1.9' class String def _utf8 self end def _binary self end end else class String def _utf8 self.force_encoding('utf-8') end def _binary self.force_encoding('binary') end end end class NilClass def _utf8 self end def _binary self end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
encoding-kawai-0.2 | lib/encoding-kawai.rb |