sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit 69be57859d18b7f0be78c0e6627b6f47541261b6
parent 7bcb85006d3b4f58cb1566331f378298b8c95fb4
Author: Dan Callaghan <djc@djc.id.au>
Date:   Mon, 23 May 2022 20:09:27 +1000

send :prepend instead of calling it

For compatibility with Ruby 2.0, where 'prepend' is private.

Diffstat:
M lib/sup/util.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/sup/util.rb b/lib/sup/util.rb
@@ -38,7 +38,7 @@ module ExtendedLockfile
 
   def touch_yourself; touch path end
 end
-Lockfile.prepend ExtendedLockfile
+Lockfile.send :prepend, ExtendedLockfile
 
 class File
   # platform safe file.link which attempts a copy if hard-linking fails
@@ -120,7 +120,7 @@ module RMail
       # end
     end
   end
-  Serialize.prepend CustomizedSerialize
+  Serialize.send :prepend, CustomizedSerialize
 end
 
 class Module