class Array

Public Instance Methods

c_format_xml() click to toggle source

You can not specify indent in c_formt_xml.

# File vendor/qwik/lib/qwik/wabisabi-format-xml.rb, line 125
def c_format_xml
  formatter = Gonzui::XMLFormatter.new
  result = formatter.format(self)
  result
end
format_xml() click to toggle source
# File vendor/qwik/lib/qwik/wabisabi-format-xml.rb, line 131
def format_xml
  return self.c_format_xml if $have_xmlformatter_so
  return self.rb_format_xml
end
rb_format_xml(indent=0, sindent=0) click to toggle source
# File vendor/qwik/lib/qwik/wabisabi-format-xml.rb, line 118
def rb_format_xml(indent=0, sindent=0)
  formatter = Qwik::RB_XMLFormatter.new
  result = formatter.format(self, indent, sindent)
  result
end
to_hash() click to toggle source
# File vendor/qwik/lib/qwik/page-wikidb.rb, line 8
def to_hash
  hash = {}
  self.each {|k, v| hash[k] = v }
  return hash
end