README.md in taco_tuesday-0.1.1 vs README.md in taco_tuesday-0.2.0

- old
+ new

@@ -1,7 +1,11 @@ # TacoTuesday +[![Gem Version](https://badge.fury.io/rb/taco_tuesday.svg)](https://badge.fury.io/rb/taco_tuesday) +[![Maintainability](https://api.codeclimate.com/v1/badges/8c6cacf5c39ce8e41175/maintainability)](https://codeclimate.com/github/DRBragg/taco_tuesday/maintainability) +[![Build Status](https://travis-ci.org/DRBragg/taco_tuesday.svg?branch=master)](https://travis-ci.org/DRBragg/taco_tuesday) + Adds a taco_tuesday? method to Ruby's Date and Times classes. Cause, well, tacos. ## Installation Add this line to your application's Gemfile: @@ -22,33 +26,39 @@ require 'taco_tuesday' # May 26th 2020 is a Tuesday tuesday = Date.new(2020, 5, 26) tuesday.taco_tuesday? #=> true +tuesday.🌮? #=> true # May 25th 2020 is a Monday monday = Date.new(2020, 5, 25) monday.taco_tuesday? #=> false +monday.🌮? #=> false # Check if today is Taco Tuesday Date.today.taco_tuesday? #=> Same result as Date.today.tuesday? +Date.today.🌮? #=> Same result as Date.today.taco_tuesday? ``` Or with the Time class: ```ruby require 'taco_tuesday' # May 26th 2020 is a Tuesday tuesday = Time.new(2020, 5, 26) tuesday.taco_tuesday? #=> true +tuesday.🌮? #=> true # May 25th 2020 is a Monday monday = Time.new(2020, 5, 25) monday.taco_tuesday? #=> false +monday.🌮? #=> false # Check if today is Taco Tuesday Time.now.taco_tuesday? #=> Same result as Time.now.tuesday? +Time.now.🌮? #=> Same result as Time.now.taco_tuesday? ``` ## Development After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.