I have this to work with:
[
["app1", {"name"=>"name1", "path"=>"xyz.com/"}],
["app2", {"name"=>"name2", "path"=>"xyz.com/"}],
["app3", {"name"=>"name3", "path"=>"xyz.com/"}],
# etc.
]
I want to be able to access each name and path so I tried:
apps.each do |key, value|
value.each do |key, value|
puts value
end
end
but this returns an Enumerator. Any idea how I can do this?
Classfor that kind of thing - more readable.