I think both would be considered the ruby way, since it responds to `.method` calls and `[]` indexing.