Sha256: c87537c08511e2b4a0b13948d357ee3c18e32f9f3a4514e358cf70c788f6d83a
Contents?: true
Size: 708 Bytes
Versions: 1
Compression:
Stored size: 708 Bytes
Contents
# frozen_string_literal: true require 'noise/version' require 'ecdsa' require 'logger' require 'rbnacl' require 'ruby_hmac' require 'securerandom' require 'noise/utils/hash' require 'noise/utils/string' module Noise autoload :Connection, 'noise/connection' autoload :Key, 'noise/key' autoload :KeyPair, 'noise/key_pair' autoload :Protocol, 'noise/protocol' autoload :Pattern, 'noise/pattern' autoload :Exceptions, 'noise/exceptions' autoload :Functions, 'noise/functions' autoload :State, 'noise/state' def self.logger @logger ||= Logger.new(STDOUT) end end def require_force(name) require name yield if block_given? rescue LoadError => e Noise.logger.warn(e.message) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
noise-ruby-0.10.1 | lib/noise.rb |