summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorydah <13041216+ydah@users.noreply.github.com>2024-01-25 11:26:13 +0900
committergit <svn-admin@ruby-lang.org>2024-01-25 09:58:15 +0000
commit6580a95f8d5a74bec20d41eb9660a93f13be8922 (patch)
tree3657333683fd673f3e705ac882eb4143df2681be
parent4d4d418457a1b6dc2ce63b166cff51fd0827c0a3 (diff)
[ruby/irb] inifinity ==> infinity
https://github.com/ruby/irb/commit/78dea58000
-rw-r--r--lib/irb/history.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb/history.rb b/lib/irb/history.rb
index 06088adb0d..50fe1ce229 100644
--- a/lib/irb/history.rb
+++ b/lib/irb/history.rb
@@ -65,7 +65,7 @@ module IRB
begin
hist = hist.last(num) if hist.size > num and num > 0
rescue RangeError # bignum too big to convert into `long'
- # Do nothing because the bignum should be treated as inifinity
+ # Do nothing because the bignum should be treated as infinity
end
end
f.puts(hist)