README.md in sinclair-1.6.5 vs README.md in sinclair-1.6.6
- old
+ new
@@ -13,11 +13,11 @@
that enables creation of methods on the fly through class
methods
Yard Documentation
-------------------
-[https://www.rubydoc.info/gems/sinclair/1.6.5](https://www.rubydoc.info/gems/sinclair/1.6.5)
+[https://www.rubydoc.info/gems/sinclair/1.6.6](https://www.rubydoc.info/gems/sinclair/1.6.6)
Installation
---------------
- Install it
@@ -450,9 +450,11 @@
Options allows projects to have an easy to configure option object
```ruby
class ConnectionOptions < Sinclair::Options
with_options :timeout, :retries, port: 443, protocol: 'https'
+
+ # skip_validation if you dont want to validate intialization arguments
end
options = ConnectionOptions.new(
timeout: 10,
protocol: 'http'