"0.1.0"
5 6 7
# File 'lib/monthstamp.rb', line 5 def monthstamp (self.year - 1970) * 12 + self.month - 1 end
10 11 12
# File 'lib/monthstamp.rb', line 10 def to_month Month.at(monthstamp) end