diff options
author | Kenichi Kamiya <[email protected]> | 2019-08-19 18:00:29 +0900 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2019-08-19 18:00:29 +0900 |
commit | cda8664471b5c2adb9d1ea9563ac38378621d0fd () | |
tree | 20327cca2bcb4b12245e01b8fe2251ff4d9b1317 /sample | |
parent | 355acbafde40c04b8586e1d9185b4965552e00fd (diff) |
Update a sample code (#2387)
Kernel#inspect does not call #to_s now To follow https://.com/ruby/ruby/commit/fd7dc23d281f38a71fa7f9c32812cd468c4b1788
-rw-r--r-- | sample/list3.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7,7 +7,7 @@ class Point self end - def to_s sprintf("%d@%d", @x, @y) end end |