Module: Card::Set::Abstract::TestContext::HtmlFormat

Extended by:
Card::Set::AbstractFormat
Defined in:
platypus/tmp/set/gem-defaults/mod012-email/abstract/test_context.rb

Instance Method Summary collapse

Instance Method Details

#test_context_cardObject



17
18
19
# File 'platypus/tmp/set/gem-defaults/mod012-email/abstract/test_context.rb', line 17

def test_context_card
  card.left.fetch(:test_context)&.first_card
end

#view: coreObject



9
10
11
12
13
14
15
# File 'platypus/tmp/set/gem-defaults/mod012-email/abstract/test_context.rb', line 9

view :core, cache: :never do
  return super() if voo.hide? :test_context

  card.with_context test_context_card do
    super()
  end
end