Class: Hash Private
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/eagleplatform.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
-
#to_sym_hash ⇒ Hash
private
Return Hash with symbolic keys.
Instance Method Details
#to_sym_hash ⇒ Hash
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return Hash with symbolic keys
16 17 18 |
# File 'lib/eagleplatform.rb', line 16 def to_sym_hash self.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo} end |