Skip to content

Commit

Permalink
Document infinite history (#1012)
Browse files Browse the repository at this point in the history
As introduced in 824473e
  • Loading branch information
eval authored Oct 11, 2024
1 parent 52307f9 commit 15e3f50
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/irb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -221,11 +221,11 @@
# *new_filepath*, which becomes the history file for the session.
#
# You can change the number of commands saved by adding to your configuration
# file: `IRB.conf[:SAVE_HISTORY] = *n*`, wheHISTORY_FILEre *n* is one of:
# file: `IRB.conf[:SAVE_HISTORY] = *n*`, where *n* is one of:
#
# * Positive integer: the number of commands to be saved,
# * Zero: all commands are to be saved.
# * `nil`: no commands are to be saved,.
# * Positive integer: the number of commands to be saved.
# * Negative integer: all commands are to be saved.
# * Zero or `nil`: no commands are to be saved.
#
#
# During the session, you can use methods `conf.save_history` or
Expand Down

0 comments on commit 15e3f50

Please sign in to comment.