본문으로 건너뛰기
0

이 레슨은 당분간 영어로 제공돼요.

Methods and errors

A method gives a name to a piece of work so you can reuse it anywhere. And when the work cannot be done, Ruby has a clean way to say so: raise an error, then rescue it where you can handle it.