Skip to content

“with” for Ruby

Use with caution:

That said, with is discouraged in JavaScript. If you can, its better to have methods return self so you can chain like so: people.get_dressed.put_on_music.and_party!

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*

Comments will be sent to the moderation queue.