Term::Reader::Line
Constants
ANSI_MATCHER = /(\[)?\033(\[)?[;?\d]*[\dA-Za-z](\])?/
Constructors
Class methods
Instance methods
Insert characters inside a line. When the lines exceeds maximum length, an extra space is added to accomodate index.
text = "aaa"
line[5] = "b"
=> "aaa b"
Insert characters inside a line. When the lines exceeds maximum length, an extra space is added to accomodate index.
inspect
Returns an unambiguous and information-rich string representation of this object, typically intended for developers.
This method should usually not be overridden. It delegates to
#inspect(IO) which can be overridden for custom implementations.
Also see #to_s.