loading...

re: Diggin through hashes and arrays in Ruby VIEW POST

FULL DISCUSSION
 

Thanks, Prathamesh.

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

  • Hash
  • Array
  • Struct
  • OpenStruct
  • CSV::Table
  • CSV::Row
 

Nice! Thanks Burdette! Didn't know that.

code of conduct - report abuse