Method: TTY::Reader::History#max_size

Defined in:
lib/tty/reader/history.rb

#max_sizeObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Set and retrieve the maximum size of the buffer



24
25
26
# File 'lib/tty/reader/history.rb', line 24

def max_size
  @max_size
end