Make code compatible with Ruby 2.7

Not including specs etc.
This commit is contained in:
Râu Cao
2024-01-15 12:34:53 +03:00
committed by raucao
parent 5497930dd5
commit d59f31a3c6
8 changed files with 32 additions and 24 deletions
+3 -1
View File
@@ -13,6 +13,8 @@ module Nostr
#
# @param [String] key_kind The kind of key that is invalid (public or private)
#
def initialize(key_kind) = super("Invalid #{key_kind} key type")
def initialize(key_kind)
super("Invalid #{key_kind} key type")
end
end
end