Sha256: 8da3df7d8234194b4e95f58c67aca8593fb6c19507efbcd2ced449d22bdc6917
Contents?: true
Size: 358 Bytes
Versions: 7
Compression:
Stored size: 358 Bytes
Contents
# frozen_string_literal: true require_relative "./support/monthly_unit" module TimeBoss class Calendar class Year < Support::MonthlyUnit NUM_MONTHS = 12 # Get a simple representation of this year. # @return [String] (e.g. "2020") def name year_index.to_s end alias_method :title, :name end end end
Version data entries
7 entries across 7 versions & 1 rubygems