Allow key pairs to be destructured
This commit is contained in:
@@ -5,6 +5,7 @@ module Nostr
|
||||
attr_reader public_key: PublicKey
|
||||
|
||||
def initialize: (private_key: PrivateKey, public_key: PublicKey) -> void
|
||||
def to_ary: -> [PrivateKey, PublicKey]
|
||||
|
||||
private
|
||||
|
||||
|
||||
Reference in New Issue
Block a user