From 87d2a2df1b40016401a2f6dfc98e46880bbd18fd Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Sat, 27 Apr 2019 16:43:28 +0200 Subject: [PATCH] Improve documentation of Array.try_convert * Mostly to try the new git repository. --- array.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/array.c b/array.c index 92841128e3..65c9a96de8 100644 --- a/array.c +++ b/array.c @@ -879,8 +879,8 @@ rb_check_to_array(VALUE ary) * call-seq: * Array.try_convert(obj) -> array or nil * - * Tries to convert +obj+ into an array, using +to_ary+ method. Returns the - * converted array or +nil+ if +obj+ cannot be converted for any reason. + * Tries to convert +obj+ into an array, using the +to_ary+ method. Returns + * the converted array or +nil+ if +obj+ cannot be converted. * This method can be used to check if an argument is an array. * * Array.try_convert([1]) #=> [1]