Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is their a way to convert string of Mash into Hash #339

Closed
loganathansellappa opened this issue Jan 5, 2016 · 2 comments
Closed

is their a way to convert string of Mash into Hash #339

loganathansellappa opened this issue Jan 5, 2016 · 2 comments
Labels

Comments

@loganathansellappa
Copy link

I have an file generated from ruby script which uses hashie gem to convert hash in to mash as below

config.ip_details.ip_one.pub.heartbeat.ip1 |"198.18.0.2"|
config.vpc.vms.vse_pub.heartbeat.netmask |"255.255.255.252"|

And I want to read the file and need convert the string of Mash into Hash, is their any method available in hashie gem to convert string of mash in to hash?

@dblock
Copy link
Member

dblock commented Jan 5, 2016

When you say convert a Hash into a Mash, how exactly is that written to the file?

@dblock dblock added the question label Jan 5, 2016
@dblock
Copy link
Member

dblock commented Jun 11, 2020

Closing, old and unclear.

@dblock dblock closed this as completed Jun 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants