Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

Execute Ruby Online

a = {"id"=>1, "title"=>"Clipping path", "handle"=>"clipping-path", "quantity"=>15, "categories"=>[{"id"=>1, "sku"=>"CLIPPING-PATH_C1", "title"=>"Category 1", "quantity"=>5, "efficiency"=>90}, {"id"=>2, "sku"=>"CLIPPING-PATH_C2", "title"=>"Category 2", "quantity"=>10, "efficiency"=>95}], "efficiency"=>93}

puts a[:id]

Advertisements
Loading...

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.