DEV Community

Discussion on: Diggin through hashes and arrays in Ruby

Collapse
 
burdettelamar profile image
Burdette Lamar

Thanks, Prathamesh.

The nested objects may include any that respond to #dig,
which includes instances of:

  • Hash
  • Array
  • Struct
  • OpenStruct
  • CSV::Table
  • CSV::Row
Collapse
 
prathamesh profile image
Prathamesh Sonpatki

Nice! Thanks Burdette! Didn't know that.