lib/aixm/component/geometry.rb in aixm-0.2.0 vs lib/aixm/component/geometry.rb in aixm-0.2.1
- old
+ new
@@ -44,12 +44,12 @@
def to_digest
segments.map(&:to_digest).to_digest
end
##
- # Render AIXM
- def to_xml(*extensions)
- @result_array.map { |h| h.to_xml(*extensions) }.join
+ # Render AIXM markup
+ def to_aixm(*extensions)
+ @result_array.map { |h| h.to_aixm(*extensions) }.join
end
private
def circle?