lib/rgeo/feature/multi_curve.rb in rgeo-0.1.22 vs lib/rgeo/feature/multi_curve.rb in rgeo-0.2.0

- old
+ new

@@ -84,11 +84,11 @@ # === Notes # # Returns a floating-point scalar value. def length - raise Error::UnsupportedCapability, "Method MultiCurve#length not defined." + raise Error::UnsupportedOperation, "Method MultiCurve#length not defined." end # === SFS 1.1 Description # @@ -99,10 +99,10 @@ # # Returns a boolean value. Note that this is different from the SFS # specification, which stipulates an integer return value. def is_closed? - raise Error::UnsupportedCapability, "Method MultiCurve#is_closed? not defined." + raise Error::UnsupportedOperation, "Method MultiCurve#is_closed? not defined." end end