Unverified Commit 1076bebd authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

Merge pull request #4256 from shuujii/move-none-to-mrblib-enum

Move `NONE` to `mrblib/enum.rb`
parents cb8bbd9e 6da3cd5d
......@@ -266,7 +266,6 @@ class Array
self
end
NONE=Object.new
##
# call-seq:
# ary.fetch(index) -> obj
......
......@@ -205,7 +205,6 @@ module Enumerable
ary.collect{|e,i| orig[i]}
end
NONE = Object.new
##
# call-seq:
# enum.first -> obj or nil
......
......@@ -13,6 +13,8 @@
# @ISO 15.3.2
module Enumerable
NONE = Object.new
##
# Call the given block for each element
# which is yield by +each+. Return false
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment