Write a script in a file and pass it to the Ruby interpreter ( ruby ), or; Just enter interactive ... def defaulted(x, y=100) # y gets 100 if not passed in
確定! 回上一頁