class Object

Constants

Mapping

note: make Mapping an alias for Hash (lets you use Mapping.of() for Hash.of)

Tx
U
UN
UNI
Uni

Public Instance Methods

sha256( *args ) click to toggle source

builtin “global” functions

# File lib/universum/function.rb, line 6
def sha256( *args )
  ## note: allow multiple args (string)
  ##   all args will get auto-joined (with no padding)
  Digest::SHA256.hexdigest( args.join )
end