Class: Thor::CoreExt::HashWithIndifferentAccess

Inherits:
Object
  • Object
show all
Defined in:
lib/bio/ngs/core_ext.rb

Instance Method Summary collapse

Instance Method Details

#symbolize_keysObject



4
5
6
7
8
9
# File 'lib/bio/ngs/core_ext.rb', line 4

def symbolize_keys
  self.inject({}) do |hash, item|
    hash[item[0].to_sym] = item[1]
    hash
  end
end