Sha256: 03acdb2ccd2a8293afa4471df1deac9e6419830274a5f9ad3846707a7aca5db8
Contents?: true
Size: 575 Bytes
Versions: 47
Compression:
Stored size: 575 Bytes
Contents
# frozen_string_literal: true module Playbook module PbLogistic class Logistic include Playbook::Props partial "pb_logistic/logistic" prop :dark, type: Playbook::Props::Boolean, default: false prop :project_name prop :project_number prop :date prop :link def classname generate_classname("pb_logistic_kit", dark_class) end def date_element "· #{date.strftime('%m/%d')}".html_safe end private def dark_class dark ? "dark" : nil end end end end
Version data entries
47 entries across 47 versions & 1 rubygems