Make code compatible with Ruby 2.7

Not including specs etc.
This commit is contained in:
Râu Cao
2023-03-08 10:28:46 +07:00
committed by Râu Cao
parent 5497930dd5
commit d59f31a3c6
8 changed files with 32 additions and 24 deletions

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