module Differin

Constants

ADDED
ALLOWED_ENGINES

List of allowed engines

ALLOWED_EXTENSIONS

List of allowed extensions

ALLOWED_RENDERERS

List of allowed renderers

EQUAL
MODIFIED

Line statuses

REMOVED
VERSION

Public Class Methods

diff(file1, file2, options = {}) click to toggle source
# File lib/differin.rb, line 39
def diff(file1, file2, options = {})
  diff = Differin::Diff.new(file1, file2)
  diff.process(options)
end
engine_exists?(engine) click to toggle source
# File lib/differin.rb, line 44
def engine_exists?(engine)
  ALLOWED_ENGINES.include?(engine)
end
renderer_exists?(renderer) click to toggle source
# File lib/differin.rb, line 48
def renderer_exists?(renderer)
  ALLOWED_RENDERERS.include?(renderer)
end