lib/sub_diff/gsub.rb in sub_diff-1.0.1 vs lib/sub_diff/gsub.rb in sub_diff-1.0.2
- old
+ new
@@ -1,11 +1,9 @@
-require 'sub_diff/sub'
-
module SubDiff
class Gsub < Sub
private
- def diff!(_builder, diff, _search)
+ def process(_builder, diff, _search)
super
last_prefix << prefix(diff) << diff[:match]
end
def last_prefix