Class: Thor::CoreExt::HashWithIndifferentAccess
- Inherits:
-
Object
- Object
- Thor::CoreExt::HashWithIndifferentAccess
- Defined in:
- lib/bio/ngs/core_ext.rb
Instance Method Summary collapse
Instance Method Details
#symbolize_keys ⇒ Object
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 |