README.md in pastel-0.7.2 vs README.md in pastel-0.7.3
- old
+ new
@@ -212,11 +212,12 @@
### 2.7 Lookup
To perform translation of color name into ansi escape code use `lookup`:
```ruby
-color.lookup(:red) # => "\e[31m"
+pastel.lookup(:red) # => "\e[31m"
+pastel.lookup(:reset) # => "\e[0m"
```
### 2.8 Valid?
Determine whether a color or a list of colors are valid. `valid?` takes one or more attribute strings or symbols and returns true if all attributes are known and false otherwise.
@@ -369,6 +370,6 @@
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request
## Copyright
-Copyright (c) 2014-2017 Piotr Murach. See LICENSE for further details.
+Copyright (c) 2014-2018 Piotr Murach. See LICENSE for further details.