Module: Card::Set::All::ContextualContent::Format

Extended by:
Card::Set::AbstractFormat
Defined in:
platypus/tmp/set/gem-defaults/mod003-content/all/contextual_content.rb

Instance Method Summary collapse

Instance Method Details

#contextual_content(context_card, options = {}) ⇒ Object



23
24
25
26
# File 'platypus/tmp/set/gem-defaults/mod003-content/all/contextual_content.rb', line 23

def contextual_content context_card, options={}
  view = options.delete(:view) || :core
  with_context(context_card) { render! view, options }
end