Top Level Namespace
Defined Under Namespace
Modules: Kernel, Safe Classes: Account, Address, Block, Contract, Msg, Receipt, Storage, String, Transaction, Universum, Void
Constant Summary collapse
- Mapping =
note: make Mapping an alias for Hash (lets you use Mapping.of() for Hash.of)
Hash
- Uni =
add some convenience aliases (still undecided what’s the most popular :-)
Universum
- UNI =
Universum
- UN =
Universum
- U =
Universum
- Tx =
class Transaction
Transaction
Instance Method Summary collapse
-
#banner ⇒ Object
say hello.
-
#pp ⇒ Object
stdlibs.
-
#safestruct ⇒ Object
3rd party gems.
-
#sha256(*args) ⇒ Object
builtin “global” functions.
Instance Method Details
#pp ⇒ Object
stdlibs
5 |
# File 'lib/universum.rb', line 5 require 'pp' |
#safestruct ⇒ Object
3rd party gems
13 |
# File 'lib/universum.rb', line 13 require 'safestruct' |
#sha256(*args) ⇒ Object
builtin “global” functions
6 7 8 9 10 |
# 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 |