From d46980798043463fa0622be3d787d5cda829cb37 Mon Sep 17 00:00:00 2001 From: Burdette Lamar Date: Fri, 15 May 2020 16:11:42 -0500 Subject: [CI skip] Enhance rdoc intro for Hash (#3056) * Per @nobu review * [CI skip] Enhance rdoc intro for Hash * Tweak call-seq for Hash.new * Tweak call-seq for Hash.new * Minor corrections * Respond to review * Respond to review * Respond to review * Respond to review * Fix chain exampmle * Response to review --- doc/implicit_conversion.rdoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/implicit_conversion.rdoc b/doc/implicit_conversion.rdoc index fae5973f5c..0c2a1d4971 100644 --- a/doc/implicit_conversion.rdoc +++ b/doc/implicit_conversion.rdoc @@ -28,7 +28,7 @@ This class is Array-convertible: class ArrayConvertible def to_ary - [:foo, 'bar', baz = 2] + [:foo, 'bar', 2] end end a = [] @@ -45,7 +45,7 @@ This class is not Array-convertible (method +to_ary+ takes arguments): class NotArrayConvertible def to_ary(x) - [:foo, 'bar', baz = 2] + [:foo, 'bar', 2] end end a = [] -- cgit v1.2.3