Sha256: 40f2dd900369639cc7e4b5e9107b4a10f377756539d6667f8c7349b230043b89

Contents?: true

Size: 263 Bytes

Versions: 7

Compression:

Stored size: 263 Bytes

Contents

module SubDiff
  module CoreExt
    module String
      def sub_diff(*args, &block)
        Builder.new(self, :sub).diff(*args, &block)
      end

      def gsub_diff(*args, &block)
        Builder.new(self, :gsub).diff(*args, &block)
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sub_diff-1.1.0 lib/sub_diff/core_ext/string.rb
sub_diff-1.0.7 lib/sub_diff/core_ext/string.rb
sub_diff-1.0.6 lib/sub_diff/core_ext/string.rb
sub_diff-1.0.5 lib/sub_diff/core_ext/string.rb
sub_diff-1.0.4 lib/sub_diff/core_ext/string.rb
sub_diff-1.0.3 lib/sub_diff/core_ext/string.rb
sub_diff-1.0.2 lib/sub_diff/core_ext/string.rb