Sha256: a7ef484e4fcde7a81aae7cc78e1429e4f7c27c4067b4203cf854d09f215f06b8

Contents?: true

Size: 392 Bytes

Versions: 3

Compression:

Stored size: 392 Bytes

Contents

# -*- coding: utf-8 -*-
require 'kconv'

module Keystone
  module Mail
    #
    # encoding 未実装
    #
    #
    class MessageSjis < Keystone::Mail::Message
      def encode_mime(st)
        Kconv.tosjis(st)
      end
      
      def mime_header_string
        "=?ShiftJIS?B?"        
      end      

      def encode_body
        Kconv.tosjis(@body)
      end      
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
keystone-0.0.32 lib/keystone/mail__old/message_sjis.rb
keystone-0.0.31 lib/keystone/mail__old/message_sjis.rb
keystone-0.0.30 lib/keystone/mail__old/message_sjis.rb