lhs
lhs copied to clipboard
to_h
Add to_h
and to_hash
method Record
and Data
.
As requested by @Averethel recently
Would it have symbols as keys @Averethel, what do you think? https://github.com/local-ch/location-app/pull/1285/files#diff-0e89fb9e37d8b907effd22e0587415ffR3
@pape-io I'd say symbols make more sense. We could do with_indifferent_access
if we really want to, but I think this can be done by the consumer.