Class: Hash
- Inherits:
-
Object
- Object
- Hash
- Defined in:
- lib/riddick/hash.rb
Overview
Extension to the built-in ruby’s Hash
Instance Method Summary collapse
-
#riddick_normalize_i18n(prefix) ⇒ Object
Return a hash normalized as following: {bar: ‘baz’} -> => ‘baz’.
Instance Method Details
#riddick_normalize_i18n(prefix) ⇒ Object
Return a hash normalized as following: {bar: ‘baz’} -> => ‘baz’.
7 8 9 |
# File 'lib/riddick/hash.rb', line 7 def riddick_normalize_i18n(prefix) Hash[_riddick_normalize_i18n prefix, self] end |