Sha256: 72bcdcc09cffe87ec6fee428cc313eaa549c97ad0155433657c463ef71f06f58
Contents?: true
Size: 324 Bytes
Versions: 3
Compression:
Stored size: 324 Bytes
Contents
module Troo class MemberDecorator include DecoratorHelpers def initialize(member) @member = member end def username ["@", member.username].join end def name member.full_name end def initials member.initials end private attr_reader :member end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
troo-0.0.4 | lib/troo/display/member_decorator.rb |
troo-0.0.3 | lib/troo/display/member_decorator.rb |
troo-0.0.2 | lib/troo/display/member_decorator.rb |