Module: Card::Set::All::Guide::HtmlFormat
- Extended by:
- Card::Set::AbstractFormat
- Defined in:
- platypus/tmp/set/gem-defaults/mod008-help/all/guide.rb
Instance Method Summary collapse
Instance Method Details
#alert_guide ⇒ Object
25 26 27 28 29 30 |
# File 'platypus/tmp/set/gem-defaults/mod008-help/all/guide.rb', line 25 def alert_guide rendered = guide return "" unless rendered.present? alert(:secondary, true, false, class: "guide") { rendered } end |
#guide ⇒ Object
17 18 19 20 21 22 23 |
# File 'platypus/tmp/set/gem-defaults/mod008-help/all/guide.rb', line 17 def guide return "" unless (text = guide_text).present? wrap_with :div, class: classy("guide-text") do prepend_guide_edit_link text end end |
#view: guide ⇒ Object
13 14 15 |
# File 'platypus/tmp/set/gem-defaults/mod008-help/all/guide.rb', line 13 view :guide, unknown: true, cache: :never, wrap: :slot do guide end |