Sha256: 28007585025ea1cd75d042a333e17643a0a71897068352de4d357c588c96e2b8
Contents?: true
Size: 266 Bytes
Versions: 3
Compression:
Stored size: 266 Bytes
Contents
# frozen_string_literal: true require 'date' Date.class_eval do # @return Range<Date> def current_week beginning_of_week..end_of_week end end DateTime.class_eval do # @return Range<Date> def current_week beginning_of_week..end_of_week end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
current_week_extension-0.1.0 | lib/current_week_extension.rb |
current_week_extension-1.0.1 | lib/current_week_extension.rb |
current_week_extension-1.0.1.pre.rc.1 | lib/current_week_extension.rb |