module Diffing::Formats::Ascii
Public Class Methods
change( from, to )
click to toggle source
# File lib/diffing/formats/ascii.rb, line 22 def change( from, to ) "{`#{ from }`>>`#{ to }`}" end
insert( value )
click to toggle source
# File lib/diffing/formats/ascii.rb, line 14 def insert( value ) "{+`#{ value }`}" end
remove( value )
click to toggle source
# File lib/diffing/formats/ascii.rb, line 18 def remove( value ) "{-`#{ value }`}" end
source( value )
click to toggle source
# File lib/diffing/formats/ascii.rb, line 10 def source( value ) value end