質問編集履歴
4
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -66,7 +66,7 @@
|
|
66
66
|
|
67
67
|
self.class.new(x - other.x, y - other.y)
|
68
68
|
|
69
|
-
end
|
69
|
+
end
|
70
70
|
|
71
71
|
end
|
72
72
|
|
3
空白
test
CHANGED
File without changes
|
test
CHANGED
@@ -20,7 +20,7 @@
|
|
20
20
|
|
21
21
|
"(#{x}, #{y})"
|
22
22
|
|
23
|
-
end
|
23
|
+
end
|
24
24
|
|
25
25
|
|
26
26
|
|
2
文法の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
|
19
19
|
def inspect # pメソッドで「(x, y)」と表示する
|
20
20
|
|
21
|
-
"#{x}, #{y}"
|
21
|
+
"(#{x}, #{y})"
|
22
22
|
|
23
23
|
end
|
24
24
|
|
@@ -48,7 +48,7 @@
|
|
48
48
|
|
49
49
|
def inspect # pメソッドで「(x, y)」と表示する
|
50
50
|
|
51
|
-
"#{x}, #{y}"
|
51
|
+
"(#{x}, #{y})"
|
52
52
|
|
53
53
|
end
|
54
54
|
|
1
文法修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
|
19
19
|
def inspect # pメソッドで「(x, y)」と表示する
|
20
20
|
|
21
|
-
"
|
21
|
+
"#{x}, #{y}"
|
22
22
|
|
23
23
|
end
|
24
24
|
|
@@ -48,7 +48,7 @@
|
|
48
48
|
|
49
49
|
def inspect # pメソッドで「(x, y)」と表示する
|
50
50
|
|
51
|
-
"
|
51
|
+
"#{x}, #{y}"
|
52
52
|
|
53
53
|
end
|
54
54
|
|