Learn Ruby Category
03/13/2015
Get the Current Year in the Ruby programming language
by Frank Rietta
'Time.new.year' gets the current year in Ruby, but there are other options in the standard library.
03/13/2015
by Frank Rietta
'Time.new.year' gets the current year in Ruby, but there are other options in the standard library.