Class: Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/avro_turf/core_ext/hash.rb

Instance Method Summary collapse

Instance Method Details

#as_avroObject



2
3
4
5
6
# File 'lib/avro_turf/core_ext/hash.rb', line 2

def as_avro
  hsh = Hash.new
  each {|k, v| hsh[k.as_avro] = v.as_avro }
  hsh
end