Sha256: 75859d34735286715eef54c7fec16626d44fb859525545a33b0960be84cf7147
Contents?: true
Size: 431 Bytes
Versions: 1
Compression:
Stored size: 431 Bytes
Contents
module Troo module Presenters class Card include DecoratorHelpers def initialize(card, options = {}) @card, @options = card, options end def show output.render Template.parse(card, '/../views/card.erb') end private def card Troo::Decorators::Resource.new(@card) end def output @output ||= Troo::Output.new end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
troo-0.0.10 | lib/troo/presenters/card.rb |