Class: QuarterBoundaryDate
- Defined in:
- lib/quarter_system/quarter_boundary_date.rb
Direct Known Subclasses
Class Method Summary collapse
-
.new(*args) ⇒ Object
args for Date#new are year, month, day, and an optional “day of calendar reform” just not gonna worry about day of calendar reform at all.
Class Method Details
.new(*args) ⇒ Object
args for Date#new are year, month, day, and an optional “day of calendar reform” just not gonna worry about day of calendar reform at all.
4 5 6 7 |
# File 'lib/quarter_system/quarter_boundary_date.rb', line 4 def self.new(*args) args.unshift(this_year) if args.size < 2 super(*args) end |