Class: Textbringer::UndoableAction

Inherits:
Object
  • Object
show all
Defined in:
lib/textbringer/buffer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(buffer, location) ⇒ UndoableAction



1828
1829
1830
1831
1832
# File 'lib/textbringer/buffer.rb', line 1828

def initialize(buffer, location)
  @version = nil
  @buffer = buffer
  @location = location
end

Instance Attribute Details

#locationObject (readonly)

Returns the value of attribute location.



1826
1827
1828
# File 'lib/textbringer/buffer.rb', line 1826

def location
  @location
end

#versionObject

Returns the value of attribute version.



1825
1826
1827
# File 'lib/textbringer/buffer.rb', line 1825

def version
  @version
end