Method: Date#quarter

Defined in:
lib/business_time/core_ext/date.rb

#quarterObject



26
27
28
# File 'lib/business_time/core_ext/date.rb', line 26

def quarter
  ((month - 1) / 3) + 1
end