class DogBiscuits::ExamPaper
Public Instance Methods
combine_dates()
click to toggle source
before_save :combine_dates
# File lib/dog_biscuits/models/works/exam_paper.rb, line 22 def combine_dates tmpdate = date tmpdate << date_available tmpdate << date_created self.date = tmpdate end
exam_paper?()
click to toggle source
# File lib/dog_biscuits/models/works/exam_paper.rb, line 29 def exam_paper? true end