Sha256: 65a970f082ac84066219ad36a28859db60ef468fde853a9d387c44686e570db1
Contents?: true
Size: 447 Bytes
Versions: 52
Compression:
Stored size: 447 Bytes
Contents
require File.expand_path('../../../../spec_helper', __FILE__) with_feature :encoding do describe "Encoding::Converter#destination_encoding" do it "returns the destination encoding as an Encoding object" do ec = Encoding::Converter.new('ASCII','Big5') ec.destination_encoding.should == Encoding::BIG5 ec = Encoding::Converter.new('SJIS','EUC-JP') ec.destination_encoding.should == Encoding::EUC_JP end end end
Version data entries
52 entries across 52 versions & 2 rubygems