Class: Playbook::PbLabelValue::LabelValue
- Inherits:
-
Object
- Object
- Playbook::PbLabelValue::LabelValue
show all
- Includes:
- Playbook::Props
- Defined in:
- app/pb_kits/playbook/pb_label_value/label_value.rb
Instance Method Summary
collapse
#dark_props, #generate_classname, #generate_classname_without_spacing, #initialize, #prop, #spacing_options, #spacing_props, #spacing_values
Instance Method Details
#classname ⇒ Object
22
23
24
|
# File 'app/pb_kits/playbook/pb_label_value/label_value.rb', line 22
def classname
generate_classname("pb_label_value_kit", variant_class)
end
|
#date_element ⇒ Object
26
27
28
|
# File 'app/pb_kits/playbook/pb_label_value/label_value.rb', line 26
def date_element
"· #{date.strftime('%m/%d')}".html_safe
end
|