Use mixed data types in hash values #3786
Unanswered
senalkularatne
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
plugin parameter definition
configuration file
If I log
@my_hash
we see that it shows up as:key1 => "100", :key2 => "200", :key3: "hello"
where all values are turned into strings. How can we read them as they appear, i.e.:key1 => 100, :key2 => 200, :key3: "hello"
?Beta Was this translation helpful? Give feedback.
All reactions