samples/point.rb in moosex-0.0.16 vs samples/point.rb in moosex-0.0.17
- old
+ new
@@ -1,5 +1,9 @@
+#
+# This example was ported from
+# https://metacpan.org/pod/Moose::Cookbook::Basics::Point_AttributesAndSubclassing
+
require 'moosex'
class Point
include MooseX
@@ -54,6 +58,6 @@
p1.clear!
p3.clear!
puts ">> clear"
-puts p1, p3
\ No newline at end of file
+puts p1, p3