I'm learning how to program in ruby, my main language is python, so I was hesitant if there is any equivalent to try and except for python in ruby:
try:
print("No hubo errores")
except:
print("Si hubo errores")
Is there something similar or equal in ruby?
Many thanks to those who take the time to answer this: 3