Class: PushType::MarkdownField
- Defined in:
- app/fields/push_type/markdown_field.rb
Instance Attribute Summary
Attributes inherited from FieldType
Instance Method Summary collapse
Methods inherited from FieldType
#css_class, #field_options, #form_helper, #html_options, #initialize, #json_primitive, #json_value, #kind, #label, #multiple?, on_class, on_instance, options, #primitive, #template, #value
Constructor Details
This class inherits a constructor from PushType::FieldType
Instance Method Details
#compiled_value ⇒ Object
20 21 22 |
# File 'app/fields/push_type/markdown_field.rb', line 20 def compiled_value markdown.render value unless value.nil? end |