[rubyworks/facets] b0ece4: update Hash#slice to behave more like the one in A...

4 views
Skip to first unread message

7rans

unread,
Jul 29, 2012, 1:26:13 PM7/29/12
to rubyworks-...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/rubyworks/facets
Commit: b0ece49a8ecd92f09862d2b05317bbd3bce19e80
https://github.com/rubyworks/facets/commit/b0ece49a8ecd92f09862d2b05317bbd3bce19e80
Author: Larry Baltz <la...@baltz.org>
Date: 2012-07-20 (Fri, 20 Jul 2012)

Changed paths:
M lib/core/facets/hash/slice.rb
M test/core/hash/test_slice.rb

Log Message:
-----------
update Hash#slice to behave more like the one in ActiveSupport


Commit: 7e91af08ea4b732dea34ee2031fb42e58355681d
https://github.com/rubyworks/facets/commit/7e91af08ea4b732dea34ee2031fb42e58355681d
Author: 7rans <tran...@gmail.com>
Date: 2012-07-29 (Sun, 29 Jul 2012)

Changed paths:
M lib/core/facets/hash/slice.rb
M test/core/hash/test_slice.rb

Log Message:
-----------
Merge pull request #69 from bitherder/active_support_like_slice

Update Hash#slice to gracefully handle missing keys.


Compare: https://github.com/rubyworks/facets/compare/e15d82c49e8d...7e91af08ea4b
Reply all
Reply to author
Forward
0 new messages