Sha256: 7e17a2af44468aef597a27266cba26b47bf8ca6ff07a5aea2ce55539c3b1458d
Contents?: true
Size: 334 Bytes
Versions: 52
Compression:
Stored size: 334 Bytes
Contents
require 'stringio' require File.expand_path('../../../spec_helper', __FILE__) ruby_version_is "1.9.2" do describe "StringIO#external_encoding" do it "gets the encoding of the underlying String" do io = StringIO.new io.set_encoding Encoding::UTF8 io.external_encoding.should == Encoding::UTF8 end end end
Version data entries
52 entries across 52 versions & 2 rubygems