Sha256: fce16c0c3a9658adb15cf64066ddabbec1c52eec8f5eee90ca93a4b5bb289d07
Contents?: true
Size: 997 Bytes
Versions: 37
Compression:
Stored size: 997 Bytes
Contents
module Mihari class TypeChecker # extend Dry::Initializer def initialize: (*untyped args, **untyped kwargs) -> void # @return [true, false] def hash?: () -> bool # @return [true, false] def ip?: () -> bool # @return [true, false] def domain?: () -> bool # @return [true, false] def url?: () -> bool # @return [true, false] def mail?: () -> bool # @return [String, nil] def type: () -> ("hash" | "ip" | "domain" | "url" | nil) # @return [String, nil] def detailed_type: () -> ("md5" | "sha1" | "sha256" | "sha512" | nil) # @return [String, nil] def self.type: (untyped data) -> String? # @return [String, nil] def self.detailed_type: (untyped data) -> String? private # @return [true, false] def md5?: () -> bool # @return [true, false] def sha1?: () -> bool # @return [true, false] def sha256?: () -> bool # @return [true, false] def sha512?: () -> bool end end
Version data entries
37 entries across 37 versions & 1 rubygems