Sha256: f9f699ba92de69b77da8b8351f4b7ca5d47fe419061f415f082f6012d304b297
Contents?: true
Size: 430 Bytes
Versions: 1
Compression:
Stored size: 430 Bytes
Contents
module Evertils module Type class Weekly < Type::Base NOTEBOOK = :Weekly COLOUR = 0xffe8b7 # # @since 0.3.7 def initialize(config, *args) super(config, *args) @title = @format.date_templates[NOTEBOOK] @content = @format.template_contents(NOTEBOOK) end # # @since 0.3.9 def tags ["week-#{Date.today.cweek}"] end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
evertils-0.3.14.1 | lib/evertils/types/weekly.rb |