Class: Aio::Base::Toolkit::Diff::Line

Inherits:
Struct
  • Object
show all
Defined in:
lib/aio/base/toolkit/myers.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#diff?Object

Returns the value of attribute diff?

Returns:

  • (Object)

    the current value of diff?



8
9
10
# File 'lib/aio/base/toolkit/myers.rb', line 8

def diff?
  @diff?
end

#numberObject

Returns the value of attribute number

Returns:

  • (Object)

    the current value of number



8
9
10
# File 'lib/aio/base/toolkit/myers.rb', line 8

def number
  @number
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



8
9
10
# File 'lib/aio/base/toolkit/myers.rb', line 8

def text
  @text
end

Instance Method Details

#inspectObject



9
10
11
# File 'lib/aio/base/toolkit/myers.rb', line 9

def inspect
  text.to_s
end