class Leg::Line::Unchanged

Public Instance Methods

line_number() click to toggle source
# File lib/leg/line.rb, line 59
def line_number
  @line_numbers[1]
end
to_patch(options = {}) click to toggle source
# File lib/leg/line.rb, line 63
def to_patch(options = {})
  char = options[:unchanged_char] || " "
  "#{char}#{@source}\n"
end
type() click to toggle source
# File lib/leg/line.rb, line 55
def type
  :unchanged
end