# -*- encoding : utf-8 -*- class Card; module Set; class Abstract # Set: Abstract (Media) # module Media; extend Card::Set def self.source_location; "/Users/ethan/dev/decko/gem/card-mod-bar_and_box/set/abstract/media.rb"; end module HtmlFormat; module_parent.send :register_set_format, Card::Format::HtmlFormat, self; extend Card::Set::AbstractFormat def image_card @image_card ||= card.fetch(:image, new: {}) end def text_with_image opts={} class_up "media-left", "m-2" @image_card = Card.cardish(opts[:image]) if opts[:image] haml :media_snippet, normalized_text_with_image_opts(opts) end private def normalized_text_with_image_opts opts opts.reverse_merge! title: _render_title, text: "", size: voo.size, media_opts: {} end end end;end;end;end; # ~~ generated from /Users/ethan/dev/decko/gem/card-mod-bar_and_box/set/abstract/media.rb ~~