mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* hash.c (env_delete_if): return enumerator if no block given.
[ruby-dev:34554] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3943e48fcc
commit
30aa6b99ca
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Thu May 1 16:10:21 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* hash.c (env_delete_if): return enumerator if no block given.
|
||||||
|
[ruby-dev:34554]
|
||||||
|
|
||||||
Wed Apr 30 21:36:40 2008 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
|
Wed Apr 30 21:36:40 2008 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
|
||||||
|
|
||||||
* lib/erb.rb (url_encode): [ruby-dev:34497] ERB::Util#url_encode
|
* lib/erb.rb (url_encode): [ruby-dev:34497] ERB::Util#url_encode
|
||||||
|
|
1
hash.c
1
hash.c
|
@ -2184,6 +2184,7 @@ env_reject_bang(VALUE ehash)
|
||||||
static VALUE
|
static VALUE
|
||||||
env_delete_if(VALUE ehash)
|
env_delete_if(VALUE ehash)
|
||||||
{
|
{
|
||||||
|
RETURN_ENUMERATOR(ehash, 0, 0);
|
||||||
env_reject_bang(ehash);
|
env_reject_bang(ehash);
|
||||||
return envtbl;
|
return envtbl;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue