instance method
to_plain_text
Ruby on Rails 6.1.7.10
Since v6.0.6Signature
to_plain_text()
No documentation comment.
Source
# File actiontext/lib/action_text/attachment.rb, line 72
def to_plain_text
if respond_to?(:attachable_plain_text_representation)
attachable_plain_text_representation(caption)
else
caption.to_s
end
end
Defined in actiontext/lib/action_text/attachment.rb line 72
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionText::Attachment