From 377af91af275c4b5a5def6d39e44ca32cf35d639 Mon Sep 17 00:00:00 2001 From: "B. Burt" <162539390+beeburrt@users.noreply.github.com> Date: Tue, 3 Jun 2025 07:56:30 +0000 Subject: [PATCH] Update error output in ruby.md (#5321) --- ruby.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruby.md b/ruby.md index c8ba6f42..90fbc519 100644 --- a/ruby.md +++ b/ruby.md @@ -118,7 +118,7 @@ placeholder = 'use string interpolation' # You can combine strings using `+`, but not with other types 'hello ' + 'world' #=> "hello world" -'hello ' + 3 #=> TypeError: can't convert Fixnum into String +'hello ' + 3 #=> TypeError: no implicit conversion of Integer into String 'hello ' + 3.to_s #=> "hello 3" "hello #{3}" #=> "hello 3"