Top Level Namespace

Defined Under Namespace

Modules: CryptoHelper, Generator, Library, Rubysol, RuntimeHelper Classes: AbiProxy, Contract, Runtime

Instance Method Summary collapse

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

say hello



117
# File 'lib/rubysol.rb', line 117

puts Rubysol::Module::Lang.banner

#jsonObject

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