Sha256: 480dd21d1470bd61bb93df1bf6537cac3b997ecd8112ff70673ae1a7dd3db193
Contents?: true
Size: 481 Bytes
Versions: 52
Compression:
Stored size: 481 Bytes
Contents
# frozen_string_literal: true module Playbook module PbLabelValue class LabelValue include Playbook::Props partial "pb_label_value/label_value" prop :label, required: true prop :value, required: true prop :dark, type: Playbook::Props::Boolean, default: false def classname generate_classname("pb_label_value_kit", dark_class) end private def dark_class dark ? "dark" : nil end end end end
Version data entries
52 entries across 52 versions & 1 rubygems