From 027d6407cc7c90324173799ade724aa6860206d0 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Mon, 17 Mar 2014 00:53:08 +0900 Subject: make Enumerable methods to support multiple values; collect, detect, each_with_index, find_all, inject, max, min, partition, reject, sort --- mrblib/array.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mrblib/array.rb') diff --git a/mrblib/array.rb b/mrblib/array.rb index 8c81d80f1..f3c7967cb 100644 --- a/mrblib/array.rb +++ b/mrblib/array.rb @@ -99,7 +99,7 @@ class Array end # internal method to convert multi-value to single value - def __to_svalue + def __svalue case self.size when 0 return nil -- cgit v1.2.3