Method: TextWindow#initialize
- Defined in:
- lib/profanity_fe/text_window.rb
#initialize(*args) ⇒ TextWindow
Returns a new instance of TextWindow.
10 11 12 13 14 15 16 17 |
# File 'lib/profanity_fe/text_window.rb', line 10 def initialize(*args) @buffer = Array.new @buffer_pos = 0 @max_buffer_size = 250 @indent_word_wrap = true @@list.push(self) super(*args) end |