Method to call the object if the object exists
5 answers
I like things like the "andand" gem , which allows:
@on_connection_callback.andand.call()
There are other options, such as different implementations try
.
+2
source to share