summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStan Lo <stan001212@gmail.com>2024-02-02 22:25:30 +0000
committergit <svn-admin@ruby-lang.org>2024-02-02 22:25:33 +0000
commit5d646fa136131c18a7a432486c65438abe9790e2 (patch)
treeac516a0c194858f7c949edb07e2f63295bd6becd /lib
parent5a87e9e2b56c00f7b4abb8f90e02c7601be1e82a (diff)
[ruby/irb] Require pathname (https://github.com/ruby/irb/pull/860)
https://github.com/ruby/irb/commit/0ab96ed426
Diffstat (limited to 'lib')
-rw-r--r--lib/irb/history.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/irb/history.rb b/lib/irb/history.rb
index ad17347fbd..dffdee32d2 100644
--- a/lib/irb/history.rb
+++ b/lib/irb/history.rb
@@ -1,3 +1,5 @@
+require "pathname"
+
module IRB
module HistorySavingAbility # :nodoc:
def support_history_saving?