struct

Cipher

Inherits Struct < Value < Object

Constructors

new(cipher_type : CipherType, extra_info : UInt8 = 0)
Source

Instance methods

cipher_type
clone
Source
copy_with(cipher_type _cipher_type = @cipher_type, extra_info _extra_info = @extra_info)
Source
extra_info
to_s

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

Source