Methods
- A
- F
- I
- N
- S
Included Modules
Attributes
[R] | node |
Class Public methods
find_attachment_gallery_nodes(content)
Link
# File actiontext/lib/action_text/attachment_gallery.rb, line 22 def find_attachment_gallery_nodes(content) Fragment.wrap(content).find_all(SELECTOR).select do |node| node.children.all? do |child| if child.text? child.text =~ /\A(\n|\ )*\z/ else child.matches? ATTACHMENT_SELECTOR end end end end
fragment_by_canonicalizing_attachment_galleries(content)
Link
fragment_by_replacing_attachment_gallery_nodes(content)
Link
from_node(node)
Link
new(node)
Link
Instance Public methods
attachments()
Link
inspect()
Link