Dig on Ruby 2.3

Amongst the additions to Ruby on the 2.3.0 release there's the dig method on objects of the type Hash, Array or Struct. This method allows you to access deeply nested data on either of these data structures in a safe way. For example, imagine you have a structure…