Unverified Commit 6b839308 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

Merge pull request #5359 from dearblue/warn

Comment out `warn` used in the `Array#fetch` method
parents 0d7f5b82 7ef4e543
......@@ -325,7 +325,7 @@ class Array
#
def fetch(n, ifnone=NONE, &block)
warn "block supersedes default value argument" if !n.nil? && ifnone != NONE && block
#warn "block supersedes default value argument" if !n.nil? && ifnone != NONE && block
idx = n
if idx < 0
......
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