Module: GwtRpc::BaseExtensions::Hash
- Defined in:
- lib/gwt_rpc/base_extensions/hash.rb
Instance Method Summary collapse
Instance Method Details
#gwt_deserialize(reader) ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 13 |
# File 'lib/gwt_rpc/base_extensions/hash.rb', line 2 def gwt_deserialize(reader) size = reader.read_int obj = new size.times do key = reader.read_object value = reader.read_object obj[key] = value end obj end |