instance method attachable_plain_text_representation

Ruby on Rails 6.0.6

Since v6.0.6 Last seen in v7.0.10

Available in: v6.0.6 v6.1.7.10 v7.0.10

Signature

attachable_plain_text_representation(caption)

No documentation comment.

Parameters

caption req
Source
# File actiontext/lib/action_text/attachables/content_attachment.rb, line 20
      def attachable_plain_text_representation(caption)
        case name
        when "horizontal-rule"
          " ┄ "
        else
          " "
        end
      end

Defined in actiontext/lib/action_text/attachables/content_attachment.rb line 20 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionText::Attachables::ContentAttachment

Type at least 2 characters to search.

↑↓ navigate · open · esc close