Make code compatible with Ruby 2.7
Not including specs etc.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user