DEV Community

loading...

Discussion on: for/in vs. each in Ruby: More than just syntax

Collapse
drbragg profile image
Drew Bragg Author

What's returned if you call num after the each blockand after thefor` block?

Forem Open with the Forem app