* expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d3da5fbd30
commit
a73dae4c53
2
proc.c
2
proc.c
@ -710,7 +710,7 @@ proc_new(VALUE klass, int8_t is_lambda)
|
|||||||
rb_raise(rb_eArgError, proc_without_block);
|
rb_raise(rb_eArgError, proc_without_block);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
rb_warn("Capturing the given block using Proc.new is deprecated; use `&block` instead");
|
rb_warn("Capturing the given block using Proc.new is deprecated; use `&block` instead");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user