Class: Tanker::PassphraseVerification

Inherits:
Verification show all
Defined in:
lib/tanker/core/verification.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(passphrase) ⇒ PassphraseVerification

Returns a new instance of PassphraseVerification.



26
27
28
29
30
31
32
# File 'lib/tanker/core/verification.rb', line 26

def initialize(passphrase)
  super()

  ASSERT_UTF8.call(passphrase)

  @passphrase = passphrase
end

Instance Attribute Details

#passphraseObject (readonly)

Returns the value of attribute passphrase.



24
25
26
# File 'lib/tanker/core/verification.rb', line 24

def passphrase
  @passphrase
end