-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* enum.c (enum_each_entry): new method #each_entry to pack values
from yield into an array. * lib/set.rb (Set#merge): use Enumerable#each_entry to implement Set compatible to 1.8 behavior. [ruby-core:27985] * lib/set.rb: replace is_a?(Enumerable) with respond_to?(:each) for duck typing. * lib/set.rb (SortedSet#add): typo fixed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- Loading branch information
matz
committed
Feb 2, 2010
1 parent
bafb881
commit 970e90d
Showing
4 changed files
with
80 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
Tue Feb 2 14:30:27 2010 Yukihiro Matsumoto <[email protected]> | ||
|
||
* enum.c (enum_each_entry): new method #each_entry to pack values | ||
from yield into an array. | ||
|
||
* lib/set.rb (Set#merge): use Enumerable#each_entry to implement | ||
Set compatible to 1.8 behavior. [ruby-core:27985] | ||
|
||
* lib/set.rb: replace is_a?(Enumerable) with respond_to?(:each) | ||
for duck typing. | ||
|
||
* lib/set.rb (SortedSet#add): typo fixed. | ||
Tue Feb 2 11:13:56 2010 Nobuyoshi Nakada <[email protected]> | ||
|
||
* lib/delegate.rb (Delegator#marshal_dump): exclude | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters