Class Diff::LCS::HTMLDiff
In: lib/diff/lcs/htmldiff.rb
Parent: Object

Methods

new   run  

Classes and Modules

Class Diff::LCS::HTMLDiff::Callbacks

Constants

DEFAULT_OPTIONS = { :expand_tabs => nil, :output => nil, :css => nil, :title => nil, }
DEFAULT_CSS = <<-CSS body { margin: 0; } .diff { border: 1px solid black; margin: 1em 2em; } p { margin-left: 2em; } pre { padding-left: 1em; margin: 0; font-family: Inconsolata, Consolas, Lucida, Courier, monospaced; white-space: pre; } .match { } .only_a { background-color: #fdd; color: red; text-decoration: line-through; } .only_b { background-color: #ddf; color: blue; border-left: 3px solid blue } h1 { margin-left: 2em; } CSS

Attributes

options  [R] 

Public Class methods

Public Instance methods

[Validate]