class Infoboxer::Tree::MergeableParagraph

@private

Public Instance Methods

can_merge?(other) click to toggle source
# File lib/infoboxer/tree/paragraphs.rb, line 55
def can_merge?(other)
  !closed? &&
    (self.class == other.class || other.is_a?(EmptyParagraph))
end