README.rdoc in mlb-0.0.4 vs README.rdoc in mlb-0.0.5

- old
+ new

@@ -1,13 +1,10 @@ = MLB.rb ==== MLB.rb is a Ruby library for retrieving current Major League Baseball players, managers, teams, divisions, and leagues. - -=== Get it -At the command prompt, type: - gem install mlb -s http://gemcutter.org - -=== Use it +== Installation + $ gem install mlb -s http://gemcutter.org +== Usage $ irb >> require 'mlb' >> MLB.teams.first.name # => "Arizona Diamondbacks" >> MLB.teams.first.league # => "National League" >> MLB.teams.first.division # => "National League West" @@ -19,11 +16,10 @@ >> MLB.teams.first.ballpark # => "Chase Field" >> MLB.teams.first.logo_url # => "http://img.freebase.com/api/trans/image_thumb/wikipedia/images/en_id/13104064" >> MLB.teams.first.players.first.name # => "Alex Romero" >> MLB.teams.first.players.first.number # => 28 >> MLB.teams.first.players.first.position # => "Right fielder" - -=== Acknowledgements +== Acknowledgements Many thanks to: * Freebase[http://www.freebase.com] * httparty[http://github.com/jnunemaker/httparty] Also, thanks to beer[http://www.21st-amendment.com].