Sha256: eb3eda86195f3c745aa56cbbaeccc6a39664e3db4ed27aabff301886b047dd30
Contents?: true
Size: 261 Bytes
Versions: 6
Compression:
Stored size: 261 Bytes
Contents
# frozen_string_literal: true require_relative "collection_preset" module RussianWorkdays class Year < CollectionPreset def initialize(year = Date.today.year) @dates = Collection.new(Date.new(year, 1, 1)..Date.new(year, 12, -1)) end end end
Version data entries
6 entries across 6 versions & 1 rubygems