Module: Abiquo::ToXml

Included in:
Array
Defined in:
lib/to_xml.rb

Instance Method Summary collapse

Instance Method Details



5
6
7
8
9
10
11
12
13
# File 'lib/to_xml.rb', line 5

def to_xml_with_links(options = {})
  if options[:convert_links] && options[:builder]
    options[:builder].tag!(:link, :rel => options[:root]) do
      to_xml_without_links(options)
    end
  else
    to_xml_without_links(options)
  end
end