module SlackMarkdown::Filters::IgnorableAncestorTags

Constants

DEFAULT_IGNORED_ANCESTOR_TAGS

Public Instance Methods

ignored_ancestor_tags() click to toggle source
# File lib/slack_markdown/filters/ignorable_ancestor_tags.rb, line 7
def ignored_ancestor_tags
  if context[:ignored_ancestor_tags]
    DEFAULT_IGNORED_ANCESTOR_TAGS | context[:ignored_ancestor_tags]
  else
    DEFAULT_IGNORED_ANCESTOR_TAGS
  end
end