YARD documentation for dm-serializer plugin
YARD documentation for dm-serializer plugin

* Initial work to add YARD-style documentation.
* Made xml_element_name and to_xml_document methods
  private.
* Renamed serialise => serialize in inline docs,
  to reflect the fact method names use U.S. English,
  rather than Int'l English spelling.

datamapper/dm-serializer