Method: Object#to_xml

Defined in:
lib/strokedb/util/xml.rb

#to_xml(options = {}) ⇒ Object



2
3
4
5
# File 'lib/strokedb/util/xml.rb', line 2

def to_xml(options = {})
  xml = options[:builder]
  xml.tag!(options[:root], options[:skip_types] ? {} : {:type => self.class.to_s.underscore},to_s)
end