README.md in work_day-1.0.1 vs README.md in work_day-1.1.0
- old
+ new
@@ -109,14 +109,27 @@
### Escolhendo calendários
Pode ser utilizado mais de um calendário ao mesmo tempo
Calendários disponíveis london, new_york e brazil
+###### Configurando os calendários default
+
```ruby
-> wd = WorkDay.new(['london', 'new_york'])
-> wd.work_day?("2018-05-28")
+> WorkDay.calendars(['london', 'new_york'])
+> WorkDay.work_day?("2018-05-28")
=> false
```
+
+###### Usando calendários apenas em um bloco específico (ex.: por request)
+
+```ruby
+> WorkDay.calendars(['new_york'])
+> WorkDay.work_day?("2018-07-04")
+=> false
+> WorkDay.use_calendars('london') { WorkDay.work_day?("2018-07-04") }
+=> true
+```
+
## License
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).