Module: Card::Set::All::RichHtml::HtmlViews::Help::HtmlFormat

Extended by:
Card::Set::AbstractFormat
Defined in:
tmpsets/set/mod021-standard/all/rich_html/html_views/help.rb

Instance Method Summary collapse

Instance Method Details

#rule_based_helpObject



25
26
27
28
29
30
31
32
33
# File 'tmpsets/set/mod021-standard/all/rich_html/html_views/help.rb', line 25

def rule_based_help
  return "" unless (rule_card = card.help_rule_card)

  with_nest_mode :normal do
    process_content rule_card.content, chunk_list: :references
    # render help card with current card's format
    # so current card's context is used in help card nests
  end
end