README.md in what_date-0.1.2 vs README.md in what_date-0.1.3
- old
+ new
@@ -23,12 +23,13 @@
$client = WhatDate.client
## get dates
client.friday
client.tuesday(Date.new(2018,2,3)) ##date of tuesday in the week of the given date
-client.prev_tuesday
+client.prev_tuesday ## same as client.last_tuesday
client.next_tuesday
+client.next_tuesday Date.new(2018,2,3) ## the following tuesday after the week of the given date
```
You can also ask for the date of a particular day of a given month. Use ordinals such as first, second and up to fifth. You can enquire the last date too.
```
@@ -37,9 +38,14 @@
client.third_tuesday_of_may_2018
##19 June 2018
client.last_monday_of_may_2018
+##28 May 2018
+
+## default to current year
+## Date.today.year == 2018
+client.last_monday_of_may
##28 May 2018
```
## Development