In this article, we'll learn how to try/catch (begin/rescue): #!/usr/bin/ruby # f1.rb # How to function def addition(n1, n2) return n1.to_i + n2.to_i end ...
確定! 回上一頁