Class: RbMumbleProtocol::DecryptResult

Inherits:
Object
  • Object
show all
Defined in:
lib/rb_mumble_protocol/crypt_state.rb

Constant Summary collapse

REASONS =
{
  0 => :ok,
  1 => :repeat,
  2 => :late,
  3 => :mac,
  4 => :eof
}.freeze

Instance Method Summary collapse

Instance Method Details

#reasonObject



16
17
18
# File 'lib/rb_mumble_protocol/crypt_state.rb', line 16

def reason
  REASONS[reason_raw_value]
end