Class: Diff::Line

Inherits:
Struct
  • Object
show all
Defined in:
lib/diff.rb

Instance Attribute Summary collapse

Instance Attribute Details

#numberObject

Returns the value of attribute number

Returns:

  • (Object)

    the current value of number



12
13
14
# File 'lib/diff.rb', line 12

def number
  @number
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



12
13
14
# File 'lib/diff.rb', line 12

def text
  @text
end