From 0225ff5179043b9c2f81883dfab5cf184b2bf543 Mon Sep 17 00:00:00 2001 From: cfis Date: Sun, 8 Dec 2024 17:23:26 -0800 Subject: [PATCH] Update Symbol From_Ruby#is_convertible to note converting from string is a typecast. --- rice/cpp_api/Symbol.ipp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rice/cpp_api/Symbol.ipp b/rice/cpp_api/Symbol.ipp index 4adb532b..0fed89dc 100644 --- a/rice/cpp_api/Symbol.ipp +++ b/rice/cpp_api/Symbol.ipp @@ -78,7 +78,7 @@ namespace Rice::detail return Convertible::Exact; break; case RUBY_T_STRING: - return Convertible::Exact; + return Convertible::TypeCast; break; default: return Convertible::None;