Module: IRB::History
Relationships & Source Files | |
Defined in: | lib/irb/history.rb |
Class Attribute Summary
- .infinite? ⇒ Boolean readonly
-
.save_history
readonly
Integer representation of
IRB.conf[:HISTORY_FILE]
. - .save_history? ⇒ Boolean readonly
Class Method Summary
-
.history_file
Might be nil when HOME and XDG_CONFIG_HOME are not available.
Class Attribute Details
.infinite? ⇒ Boolean
(readonly)
[ GitHub ]
# File 'lib/irb/history.rb', line 15
def infinite? save_history.negative? end
.save_history (readonly)
Integer representation of IRB.conf[:HISTORY_FILE]
.
.save_history? ⇒ Boolean
(readonly)
[ GitHub ]
# File 'lib/irb/history.rb', line 11
def save_history? !save_history.zero? end
Class Method Details
.history_file
Might be nil when HOME and XDG_CONFIG_HOME are not available.