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



347
348
349
350
351
352
353
354
355
356
357
# File 'lib/webee.rb', line 347

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