Class: TPM::Tpm2bName

Inherits:
BinData::Record
  • Object
show all
Defined in:
lib/tpm/tpm2b_name.rb

Instance Method Summary collapse

Instance Method Details

#valid_for?(other_name) ⇒ Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/tpm/tpm2b_name.rb', line 13

def valid_for?(other_name)
  name.to_binary_s == other_name
end