class HTree::XMLDecl

Public Instance Methods

to_wabisabi() click to toggle source
# File vendor/qwik/lib/qwik/htree-to-wabisabi.rb, line 20
def to_wabisabi
  w = [:'?xml']
  w << @version
  w << @encoding if @encoding
  w << @standalone ? 'yes' : 'no' if @standalone
  return w
end