File: //usr/local/rvm/gems/ruby-2.5.9/doc/activemodel-6.1.4.1/ri/ActiveModel/Errors/to_xml-i.ri
U:RDoc::AnyMethod[iI"to_xml:ETI"ActiveModel::Errors#to_xml;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"@Returns an xml formatted representation of the Errors hash.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"Aperson.errors.add(:name, :blank, message: "can't be blank")
;TI"Lperson.errors.add(:name, :not_specified, message: "must be specified")
;TI"person.errors.to_xml
;TI"
# =>
;TI"3# <?xml version=\"1.0\" encoding=\"UTF-8\"?>
;TI"# <errors>
;TI"-# <error>name can't be blank</error>
;TI"0# <error>name must be specified</error>
;TI"# </errors>;T:@format0:
@fileI"lib/active_model/errors.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(options = {});T@FI"Errors;TcRDoc::NormalClass00