diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-03-17 00:53:08 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-03-17 00:53:08 +0900 |
| commit | 027d6407cc7c90324173799ade724aa6860206d0 (patch) | |
| tree | d2518d395d1e851b0be4a2d450f752a7aeefd0bd /mrblib/array.rb | |
| parent | ed2fe640767ca8852ebae91285d1b5091ecf2556 (diff) | |
| download | mruby-027d6407cc7c90324173799ade724aa6860206d0.tar.gz mruby-027d6407cc7c90324173799ade724aa6860206d0.zip | |
make Enumerable methods to support multiple values; collect, detect, each_with_index, find_all, inject, max, min, partition, reject, sort
Diffstat (limited to 'mrblib/array.rb')
| -rw-r--r-- | mrblib/array.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
