Omit parentheses in no‑arg defs

This commit is contained in:
ptrktn authored and GitHub committed 2025-09-03 14:50:22 +09:00
1 parent d8f30fa8d3
commit fb3c453d4b
1 file changed
+1 -1
+1 -1
View File
@@ -62,7 +62,7 @@ class Item
@quality = quality
end
def to_s()
def to_s
"#{@name}, #{@sell_in}, #{@quality}"
end
end