Methods
- attachable_plain_text_representation
- previewable_attachable?
- to_trix_content_attachment_partial_path
Included Modules
Instance Public methods
attachable_plain_text_representation(caption = nil)
📝 Source code
# File actiontext/lib/action_text/engine.rb, line 49
def attachable_plain_text_representation(caption = nil)
"[#{caption || filename}]"
end
🔎 See on GitHub
previewable_attachable?()
📝 Source code
# File actiontext/lib/action_text/engine.rb, line 45
def previewable_attachable?
representable?
end
🔎 See on GitHub
to_trix_content_attachment_partial_path()
📝 Source code
# File actiontext/lib/action_text/engine.rb, line 53
def to_trix_content_attachment_partial_path
nil
end
🔎 See on GitHub