Open forthrin opened 5 months ago
Try changing the first line to Hashie::Mash.new
from the Hashie gem and the rest should work fine.
You're suggesting some Ruby statement from gem, whereas gron
is a shell utility.
I'm presuming you have a use case that involves executing the generated Ruby code in Ruby. If you don't have any use case for this, please ignore my suggestion.
Ah! The gem generates Ruby statements that builds the hash. Nice tip. Hope for CLI support too.