Actually trying to access the values of multidimensional hash, which looks like this
{
"page_1"=>[
{:price=>"40 €", :price_per_day=>"40 €", :provider1=>"XX"},
{:price=>"43 €", :price_per_day=>"43 €", :provider1=>"XX"}
],
"page_2"=>[
{:price=>"40 €", :price_per_day=>"40 €", :provider1=>"XX"},
{:price=>"43 €", :price_per_day=>"43 €", :provider1=>"XX"}
]
}
For example how can I get the :price inside each page_x using a loop?
Source: ruby