Readme.markdown in hands-0.1.0 vs Readme.markdown in hands-0.2.0
- old
+ new
@@ -2,11 +2,11 @@
Simple library for calculating poker hands.
Currently this gem is very limited. I plan on adding outs, odds, and other actually useful stuff. I started writing this on a plane as a personal challenge. It's current state is crude, although tested and works.
-[](https://gemnasium.com/soffes/hands)
+[](undefined) [](https://gemnasium.com/soffes/hands) [](https://codeclimate.com/github/soffes/hands)
## Installation
Add this line to your application's Gemfile:
@@ -22,20 +22,20 @@
$ gem install hands
## Usage
-Read the [documentation](http://rubydoc.info/github/samsoffes/hands/master/frames).
+Read the [documentation](http://rubydoc.info/github/soffes/hands/frames/file/Readme.markdown).
``` ruby
# Best hand detection
straight = Hands::Hand.new
straight << Hands::Card['A', :hearts]
straight << Hands::Card[2, :spades]
straight << Hands::Card[3, :diamonds]
straight << Hands::Card[4, :hearts]
straight << Hands::Card[5, :clubs]
-straight.best_hand[:type] # 'straight'
+straight.best_hand[:type] # :straight
# Hand comparison
pair = Hands::Hand.new
pair << Hands::Card[2, :hearts]
pair << Hands::Card[2, :clubs]