DEV Community

Discussion on: Today I Learned about the tap method in Ruby

Collapse
 
w3ndo profile image
Patrick Wendo

This is interesting for 2 reasons,

  1. I didn't know you could edit your ~/.irbrc Seems very useful. Will have to try that after work today.
  2. When you say make a call to d, you mean like if we have an Object user, you'd call user.d and it would return the user? Isn't that circular? Or am I not getting it? Could you explain?