Method: NFS::XDR::Structure#decode
- Defined in:
- lib/nfs/xdr.rb
#decode(string) ⇒ Object
232 233 234 235 236 |
# File 'lib/nfs/xdr.rb', line 232 def decode(string) @components.each_with_object({}) do |component, result| result[component[0]] = component[1].decode(string) end end |