class Reline::History
def <<(val)
Experimental RBS support (using type sampling data from the type_fusion project).
def <<: (String val) -> untyped
This signature was generated using 7 samples from 1 application.
def <<(val) # If history_size is zero, all histories are dropped. return self if @config.history_size.zero? # If history_size is negative, history size is unlimited. if @config.history_size.positive? shift if size + 1 > @config.history_size end super(String.new(val, encoding: Reline.encoding_system_needs)) end