README.md in sinclair-1.1.2 vs README.md in sinclair-1.1.3
- old
+ new
@@ -27,11 +27,11 @@
bundle install sinclair
```
Yard Documentation
-------------------
-https://www.rubydoc.info/gems/sinclair/
+https://www.rubydoc.info/gems/sinclair/1.1.3
Usage
---------------
The concern builder can actully be used in two ways, as an stand alone object capable of
adding methods to your class or by extending it for more complex logics
@@ -129,11 +129,11 @@
the instance will respond to the methods
```name``` ```name=``` ```name_valid?```
```surname``` ```surname=``` ```surname_valid?```
```age``` ```age=``` ```age_valid?```
```legs``` ```legs=``` ```legs_valid?```
- ```valid?```
+ ```valid?```.
```ruby
valid_object = MyClass.new(
name: :name,
@@ -179,9 +179,10 @@
b.add_method(method) { value }
end
end
end
+ require 'sinclair/matchers'
RSpec.configure do |config|
config.include Sinclair::Matchers
end
RSpec.describe DefaultValue do