summaryrefslogtreecommitdiff
path: root/sample/list3.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/list3.rb')
-rw-r--r--sample/list3.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/sample/list3.rb b/sample/list3.rb
index c627857..6bedc6c 100644
--- a/sample/list3.rb
+++ b/sample/list3.rb
@@ -2,11 +2,7 @@
# using _inspect
class Point
- def Point.new(x, y)
- super.init(x, y)
- end
-
- def init(x, y)
+ def init_object(x, y)
@x = x; @y = y
self
end