Okay, just how do I get the Current Year in Ruby? It's easy. Just use any of the Date/Time objects and call the year method, like this:
確定! 回上一頁