Top Level Namespace
Defined Under Namespace
Modules: CryptoHelper, Generator, Library, Rubysol, RuntimeHelper Classes: AbiProxy, Contract, Runtime
Instance Method Summary collapse
-
#array(sub_type, size = 0) ⇒ Object
define global Array() and Mapping(,) helpers to generate types or add upstream TypedArray() and TypedMapping(,) and add alias here for Array(), Mapping(,) - why? why not?.
-
#banner ⇒ Object
say hello.
-
#json ⇒ Object
move require json to rubidity/typed ??.
- #mapping(key_type, value_type) ⇒ Object
Instance Method Details
#array(sub_type, size = 0) ⇒ Object
define global Array() and Mapping(,) helpers
to generate types
or add upstream TypedArray() and TypedMapping(,)
and add alias here for Array(), Mapping(,) - why? why not?
23 24 25 26 |
# File 'lib/rubysol.rb', line 23 def array( sub_type, size=0 ) typedclass = Types::Array.new( sub_type, size ) typedclass end |
#json ⇒ Object
move require json to rubidity/typed ??
7 |
# File 'lib/rubysol.rb', line 7 require 'json' |
#mapping(key_type, value_type) ⇒ Object
28 29 30 31 |
# File 'lib/rubysol.rb', line 28 def mapping( key_type, value_type ) typedclass = Types::Mapping.new( key_type, value_type ) typedclass end |