app/models/applications/application_award.rb
def number_of_hours
    hours_per_week = application_for_offering.hours_per_week
    return nil if hours_per_week.blank?
    hours_per_week.to_d * Activity::WEEKS_PER_QUARTER
  end
# Calculates the number of hours to count this activity for accountability purposes. Returns nil if this application's
# +hours_per_week+ is not defined.
Calculates the number of hours to count this activity for accountability purposes. Returns nil if this application's
+hours_per_week+ is not defined.
Calculates the number of hours to count this activity for accountability purposes . Returns nil if this application ' s + hours_per_week + is not defined .
def number_of_hours
    hours_per_week = application_for_offering.hours_per_week
    return nil if hours_per_week.blank?
    hours_per_week.to_d * Activity::WEEKS_PER_QUARTER
  end
def number_of_hours hours_per_week = application_for_offering . hours_per_week return nil if hours_per_week . blank? hours_per_week . to_d * Activity :: WEEKS_PER_QUARTER end
Calculates the number of hours to count this activity for accountability purposes.
Calculates the number of hours to count this activity for accountability purposes .