lib/aixm/component/geometry/point.rb in aixm-0.3.4 vs lib/aixm/component/geometry/point.rb in aixm-0.3.5
- old
+ new
@@ -20,10 +20,10 @@
self.xy = xy
end
# @return [String]
def inspect
- %Q(#<#{self.class} xy="#{xy.to_s}">)
+ %Q(#<#{self.class} xy="#{xy}">)
end
def xy=(value)
fail(ArgumentError, "invalid xy") unless value.is_a? AIXM::XY
@xy = value