Sha256: 73cb910cd6915d2e23880bd8f4235a1138d0c9ccd4615ff5bebf320e4d6e7f35
Contents?: true
Size: 440 Bytes
Versions: 2
Compression:
Stored size: 440 Bytes
Contents
module Troo module Presenters class Member include DecoratorHelpers def initialize(card, options = {}) @card, @options = card, options end def show Sentence.construct(members, 'members') end private attr_reader :card, :options def members @members ||= card.members.map do |member| member.decorator.username end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
troo-0.0.10 | lib/troo/presenters/member.rb |
troo-0.0.9 | lib/troo/presenters/member.rb |