method
to_plain_text
v6.0.0 -
Show latest stable
- Class:
ActionText::Attachment
to_plain_text()public
No documentation available.
# File actiontext/lib/action_text/attachment.rb, line 70
def to_plain_text
if respond_to?(:attachable_plain_text_representation)
attachable_plain_text_representation(caption)
else
caption.to_s
end
end