class Reline::History
def check_index(index)
def check_index(index) += size if index < 0 ex < -2147483648 or 2147483647 < index e RangeError.new("integer #{index} too big to convert to `int'") istory_size is negative, history size is unlimited. nfig.history_size.positive? ndex < -@config.history_size or @config.history_size < index ise RangeError.new("index=<#{index}>") IndexError.new("index=<#{index}>") if index < 0 or size <= index