Method: RbNaCl::Serializable#inspect

Defined in:
lib/rbnacl/serializable.rb

#inspectString

Inspect this key

Returns:

  • (String)

    a string representing this key



18
19
20
# File 'lib/rbnacl/serializable.rb', line 18

def inspect
  "#<#{self.class}:#{Util.bin2hex(to_bytes)[0, 8]}>"
end