Module: Abiquo::ToXml
- Included in:
- Array
- Defined in:
- lib/to_xml.rb
Instance Method Summary collapse
Instance Method Details
#to_xml_with_links(options = {}) ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'lib/to_xml.rb', line 5 def to_xml_with_links( = {}) if [:convert_links] && [:builder] [:builder].tag!(:link, :rel => [:root]) do to_xml_without_links() end else to_xml_without_links() end end |