'Time.new.year' gets the current year in Ruby, but there are other options in the standard library.
確定! 回上一頁