Class: MiniReadline::NoHistory
- Inherits:
-
Object
- Object
- MiniReadline::NoHistory
- Defined in:
- lib/mini_readline/read_line/no_history.rb
Overview
Support for the edit without history.
Instance Method Summary collapse
-
#append_history(_str) ⇒ Object
Append a string to the history buffer if enabled.
-
#get_next_history ⇒ Object
Get the next history string.
-
#get_previous_history ⇒ Object
Get the previous history string.
-
#goto_end_of_history ⇒ Object
Go to the end of the history array.
-
#history ⇒ Object
Get the history buffer associated with this instance.
-
#initialize_parms(_options) ⇒ Object
Get the history object ready for the next read line operation.
Instance Method Details
#append_history(_str) ⇒ Object
Append a string to the history buffer if enabled. NOP
28 29 |
# File 'lib/mini_readline/read_line/no_history.rb', line 28 def append_history(_str) end |
#get_next_history ⇒ Object
Get the next history string. NOP
23 24 25 |
# File 'lib/mini_readline/read_line/no_history.rb', line 23 def get_next_history false end |
#get_previous_history ⇒ Object
Get the previous history string. NOP
18 19 20 |
# File 'lib/mini_readline/read_line/no_history.rb', line 18 def get_previous_history false end |
#goto_end_of_history ⇒ Object
Go to the end of the history array. NOP
14 15 |
# File 'lib/mini_readline/read_line/no_history.rb', line 14 def goto_end_of_history end |
#history ⇒ Object
Get the history buffer associated with this instance. Empty
32 33 34 |
# File 'lib/mini_readline/read_line/no_history.rb', line 32 def history [] end |
#initialize_parms(_options) ⇒ Object
Get the history object ready for the next read line operation. NOP
10 11 |
# File 'lib/mini_readline/read_line/no_history.rb', line 10 def initialize_parms() end |