README.mdown in notu-0.1.6 vs README.mdown in notu-0.2.0

- old
+ new

@@ -4,24 +4,28 @@ ## Installation Just add this into your `Gemfile`: - gem 'notu' +```ruby +gem 'notu' +``` Then, just run `bundle install`. ## Example - library = Notu::Library.new(username: 'johndoe') +```ruby +library = Notu::Library.new(username: 'johndoe') - library.loved_tracks.each do |track| - puts track.artist - end +library.loved_tracks.each do |track| + puts track.artist +end - library.most_played_tracks(period: 'last_month').each do |track| - puts "#{track.artist}: #{track.plays_count}" - end +library.most_played_tracks(period: 'last_month').each do |track| + puts "#{track.artist}: #{track.plays_count}" +end +``` ## Executing test suite This project is fully tested with [Rspec 3](http://github.com/rspec/rspec). Just run `bundle exec rake` (after a `bundle install`).