module RbNaCl::Sodium::Version
libsodium version API
Constants
- ARGON2_SUPPORTED
- INSTALLED_VERSION
- MINIMUM_LIBSODIUM_VERSION
- MINIMUM_LIBSODIUM_VERSION_FOR_ARGON2
- PATCH
- STRING
Public Class Methods
supported_version?(version)
click to toggle source
Determine if a given feature is supported based on Sodium
version
# File lib/rbnacl/sodium/version.rb, line 29 def self.supported_version?(version) Gem::Version.new(sodium_version_string) >= Gem::Version.new(version) end