Class: Array

Inherits:
Object
  • Object
show all
Defined in:
lib/webgen/coreext.rb

Overview

:stopdoc:

Instance Method Summary collapse

Instance Method Details

#to_hashObject



6
7
8
9
10
# File 'lib/webgen/coreext.rb', line 6

def to_hash
  h = {}
  self.each {|k,v| h[k] = v}
  h
end