Class: WeBee::Datastore

Inherits:
Object
  • Object
show all
Includes:
SAXMachine
Defined in:
lib/webee.rb

Instance Method Summary collapse

Methods included from SAXMachine

#old_parse, #parse

Instance Method Details

#to_xmlObject



402
403
404
405
406
407
408
409
410
411
412
# File 'lib/webee.rb', line 402

def to_xml
  xm = Builder::XmlMarkup.new
  xm.datastore {
    xm.name name
    xm.directory directory
    xm.rootPath root_path
    xm.enabled enabled
    xm.size size
    xm.usedSize used_size
  }
end