Sha256: da2678304c99d8c3b363eb75ed0d749022e9c6a34267b93dc0ed966fd1723817
Contents?: true
Size: 384 Bytes
Versions: 1
Compression:
Stored size: 384 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 attr_reader :card 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.9 | lib/troo/presenters/card.rb |