lib/geomotion/cg_affine_transform.rb in geomotion-0.14.0 vs lib/geomotion/cg_affine_transform.rb in geomotion-0.15.0
- old
+ new
@@ -176,6 +176,15 @@
def to_a
[self.a, self.b, self.c, self.d, self.tx, self.ty]
end
+ def to_ns_value
+ NSValue.valueWithCGAffineTransform(self)
+ end
+
+private
+ def to_ary
+ to_a
+ end
+
end