Class: HashWithDoubleAccess
- Inherits:
-
Ground::Activity
- Object
- HashWithDoubleAccess
- Defined in:
- lib/ground/activity/hash_with_double_access.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
3 4 5 6 7 |
# File 'lib/ground/activity/hash_with_double_access.rb', line 3 def call str_h = access_with(data, :to_s) sym_h = access_with(data, :to_sym) sym_h.merge str_h end |