Skip to content

Commit

Permalink
* hash.c (env_delete_if): return enumerator if no block given.
Browse files Browse the repository at this point in the history
  [ruby-dev:34554]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nobu committed May 1, 2008
1 parent 3943e48 commit 30aa6b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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>

* lib/erb.rb (url_encode): [ruby-dev:34497] ERB::Util#url_encode
Expand Down
1 change: 1 addition & 0 deletions hash.c
Original file line number Diff line number Diff line change
Expand Up @@ -2184,6 +2184,7 @@ env_reject_bang(VALUE ehash)
static VALUE
env_delete_if(VALUE ehash)
{
RETURN_ENUMERATOR(ehash, 0, 0);
env_reject_bang(ehash);
return envtbl;
}
Expand Down

0 comments on commit 30aa6b9

Please sign in to comment.