Sha256: b51378fe22ccc0d1d7e399f7e2d3e628fb65d30f99a6f8c5969e44f6159e257c
Contents?: true
Size: 565 Bytes
Versions: 5
Compression:
Stored size: 565 Bytes
Contents
require "swfmill_ext" module Swfmill def self.swf2xml(string_or_io, option={}) if string_or_io.respond_to? :read Swfmill.swf2xml(string_or_io.read, option) else encoding = option[:e] || option[:encoding] || 'UTF-8' Swfmill.to_xml(string_or_io.to_s, encoding.to_s) end end def self.xml2swf(string_or_io, option={}) if string_or_io.respond_to? :read xml2swf(string_or_io.read, option) else encoding = option[:e] || option[:encoding] || 'UTF-8' to_swf(string_or_io.to_s, encoding.to_s) end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
swfmill-0.0.6 | lib/swfmill.rb |
swfmill-0.0.5 | lib/swfmill.rb |
swfmill-0.0.4 | lib/swfmill.rb |
swfmill-0.0.3 | lib/swfmill.rb |
swfmill-0.0.2 | lib/swfmill.rb |