class Leg::Diff::DiffLine

Attributes

line[R]
type[RW]

Public Class Methods

new(type, line) click to toggle source
# File lib/leg/diff.rb, line 21
def initialize(type, line)
  @type = type
  @line = line
end

Public Instance Methods

empty!() click to toggle source
# File lib/leg/diff.rb, line 26
def empty!; @empty = true; end
empty?() click to toggle source
# File lib/leg/diff.rb, line 27
def empty?; @empty; end
omit!() click to toggle source
# File lib/leg/diff.rb, line 29
def omit!; @omit = true; end
omit?() click to toggle source
# File lib/leg/diff.rb, line 30
def omit?; @omit; end