Update a sample code (#2387)
Kernel#inspect does not call #to_s now
To follow fd7dc23d28
This commit is contained in:
parent
355acbafde
commit
cda8664471
|
@ -7,7 +7,7 @@ class Point
|
|||
self
|
||||
end
|
||||
|
||||
def to_s
|
||||
def inspect
|
||||
sprintf("%d@%d", @x, @y)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue