README.md in sub_diff-1.0.1 vs README.md in sub_diff-1.0.2
- old
+ new
@@ -27,14 +27,14 @@
* [`String#gsub_diff`](http://ruby-doc.org/core-2.2.0/String.html#method-i-gsub)
These methods accept the same arguments as their `sub` and `gsub` counterparts.
```ruby
-replaced = 'this is a test'.gsub_diff(/(\S*is)/, 'replaced(\1)') #=> #<DiffCollection:0x007fc532049508>
+replaced = 'this is a test'.gsub_diff(/(\S*is)/, 'replaced(\1)') #=> #<SubDiff::Collection:0x007fc532049508>
```
-The difference is that it returns a `DiffCollection` instead. This object behaves just like a `String`.
+The difference is that it returns a `SubDiff::Collection` instead. This object behaves like a `String`.
```ruby
puts replaced #=> "replaced(this) replaced(is) a test"
```
@@ -86,16 +86,18 @@
## API
[YARD Documentation](http://www.rubydoc.info/github/shuber/sub_diff)
-* `Diff#changed?`
-* `Diff#value`
-* `Diff#value_was`
-* `DiffCollection#changed?`
-* `DiffCollection#diffs`
-* `DiffCollection#each`
-* `DiffCollection#size`
+* `String#gsub`
+* `String#sub`
+* `SubDiff::Diff#changed?`
+* `SubDiff::Diff#value`
+* `SubDiff::Diff#value_was`
+* `SubDiff::Collection#changed?`
+* `SubDiff::Collection#diffs`
+* `SubDiff::Collection#each`
+* `SubDiff::Collection#size`
## Testing
```
bundle exec rspec