Methods
- A
- F
- T
Included Modules
Attributes
[RW] | name |
Class Public methods
from_node(node)
Link
# File actiontext/lib/action_text/attachables/content_attachment.rb, line 8 def self.from_node(node) if node["content-type"] if matches = node["content-type"].match(/vnd\.rubyonrails\.(.+)\.html/) attachment = new(name: matches[1]) attachment if attachment.valid? end end end
Instance Public methods
attachable_plain_text_representation(caption)
Link
to_partial_path()
Link