README.md in semantic_range-2.1.0 vs README.md in semantic_range-2.2.0
- old
+ new
@@ -22,12 +22,12 @@
```ruby
SemanticRange.valid('1.2.3') # '1.2.3'
SemanticRange.valid('a.b.c') # nil
SemanticRange.clean(' =v1.2.3 ') # '1.2.3'
-SemanticRange.satisfies('1.2.3', '1.x || >=2.5.0 || 5.0.0 - 7.2.3') # true
-SemanticRange.gt('1.2.3', '9.8.7') # false
-SemanticRange.lt('1.2.3', '9.8.7') # true
+SemanticRange.satisfies?('1.2.3', '1.x || >=2.5.0 || 5.0.0 - 7.2.3') # true
+SemanticRange.gt?('1.2.3', '9.8.7') # false
+SemanticRange.lt?('1.2.3', '9.8.7') # true
```
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.