Class: Array

Inherits:
Object
  • Object
show all
Defined in:
lib/client/service_foundation.rb

Overview

must in the top-level namespace

Instance Method Summary collapse

Instance Method Details

#arr_to_hshObject



3
4
5
6
7
# File 'lib/client/service_foundation.rb', line 3

def arr_to_hsh
  hsh = {}
  self.each {|e| hsh.merge!(e)}
  hsh
end