Class: Playbook::PbBody::Body
- Inherits:
-
Object
- Object
- Playbook::PbBody::Body
show all
- Includes:
- ActionView::Helpers, Playbook::Props
- Defined in:
- app/pb_kits/playbook/pb_body/body.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
26
27
28
|
# File 'app/pb_kits/playbook/pb_body/body.rb', line 26
def classname
generate_classname("pb_body_kit", color_class, status_class)
end
|
#content ⇒ Object
30
31
32
|
# File 'app/pb_kits/playbook/pb_body/body.rb', line 30
def content
highlighting ? apply_highlight : text
end
|