Permalink
Browse files

merged agile's patch & updated the changelog

  • Loading branch information...
1 parent c0068d6 commit 7a090e91c8595cf30a3bc4fce22f0c351e28b983 @benburkert benburkert committed Jul 24, 2008
Showing with 5 additions and 2 deletions.
  1. +3 −0 CHANGELOG
  2. +2 −2 lib/core_ext/range.rb
View
@@ -1,3 +1,6 @@
+== 0.1.2 "I'm Not Saying It's Not Beta"
+* Changed rand to Kernel#rand to avoid conflicting with rails (thanks agile!)
+
== 0.1.1 "Still Quite Beta" 2008-07-20
* Added Range#of method.
* Heavy refactoring of the Parser.parse method.
View
@@ -3,7 +3,7 @@ def pick
to_a.pick
end
- def of(&blk)
- pick.of(&blk)
+ def of
+ pick.of { yield }
end
end

0 comments on commit 7a090e9

Please sign in to comment.