質問編集履歴
1
class Word < Stringをclass Stringと訂正
test
CHANGED
File without changes
|
test
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
rails consoleにて
|
3
3
|
|
4
4
|
```
|
5
|
-
>> class
|
5
|
+
>> class String
|
6
6
|
>> def palindrome?
|
7
7
|
>> self == self.reverse
|
8
8
|
>> end
|