summaryrefslogtreecommitdiffhomepage
path: root/mrblib/array.rb
diff options
context:
space:
mode:
Diffstat (limited to 'mrblib/array.rb')
-rw-r--r--mrblib/array.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/mrblib/array.rb b/mrblib/array.rb
index 6bcc8c482..8586fbc39 100644
--- a/mrblib/array.rb
+++ b/mrblib/array.rb
@@ -268,4 +268,8 @@ class Array
def sort(&block)
self.dup.sort!(&block)
end
+
+ def to_a
+ self
+ end
end