Skip to content

byronanderson/ruby_date_extensions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quarter and Month classes to plug into date and time classes in ruby

The inspiration for these extensions are to be able to use enumerable methods to aggregate via these new concepts of quarter and month

ex:

grouped_by_quarter = profits.group_by { |profit| profit.date.to_quarter }

Authored by Byron Anderson

About

Month and Quarter classes integrated into the ruby date class.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages