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