Sha256: 017dc4c44a2b14d74a7837e762c7d0671f12e8a01ac172098689107d29927ae1

Contents?: true

Size: 250 Bytes

Versions: 5

Compression:

Stored size: 250 Bytes

Contents

# frozen_string_literal: true

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

5 entries across 5 versions & 1 rubygems

Version Path
current_week_extension-1.0.0 lib/current_week_extension.rb
current_week_extension-1.0.0.pre.rc.1 lib/current_week_extension.rb
current_week_extension-0.0.5 lib/current_week_extension.rb
current_week_extension-0.0.4 lib/current_week_extension.rb
current_week_extension-0.0.3 lib/current_week_extension.rb