class Phantom::SVG::Parser::PhantomXMLDecl
convert single quotes into double quotes.
Private Instance Methods
content(enc)
click to toggle source
# File lib/phantom/parser/phantom_xmldecl.rb, line 10 def content(enc) rv = "version=\"#{@version}\"" rv << " encoding=\"#{enc}\"" if @writeencoding || enc !~ /\Autf-8\z/i rv << " standalone=\"#{@standalone}\"" if @standalone rv end