class TextEditor::State
Attributes
buffer[R]
cursor[R]
Public Class Methods
new(buffer, cursor)
click to toggle source
# File lib/text_editor/state.rb 5 def initialize(buffer, cursor) 6 @buffer = buffer 7 @cursor = cursor 8 end