Sha256: abf5df7d4d4059a25ed71770b15e08d2475d9544975ab8b12d8df0db8ce279e0

Contents?: true

Size: 743 Bytes

Versions: 19

Compression:

Stored size: 743 Bytes

Contents

# -*- encoding : utf-8 -*-

include Card::Set::Type::Pointer

def raw_content
  if left
    items = if (left.type_id == SetID) || (left.type_id == CardtypeID)
              left.default_follow_set_card.all_user_ids_with_rule_for(:follow).map do |user_id|
                if left.followed_by?(user_id) && (user = Card.find(user_id))
                  user.name 
                else 
                  nil
                end
              end.compact
            else
              left.follower_names
            end
    items.map {|item| "[[#{item}]]"}.join "\n"
  else
    ''
  end
end

def virtual?; true end

format() do 
  include Card::Set::Type::Pointer::Format     
end

format(:html)  { include Card::Set::Type::Pointer::HtmlFormat }

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
card-1.16.8 mod/05_email/set/right/followers.rb
card-1.16.7 mod/05_email/set/right/followers.rb
card-1.16.6 mod/05_email/set/right/followers.rb
card-1.16.5 mod/05_email/set/right/followers.rb
card-1.16.4 mod/05_email/set/right/followers.rb
card-1.16.3 mod/05_email/set/right/followers.rb
card-1.16.2 mod/05_email/set/right/followers.rb
card-1.16.1 mod/05_email/set/right/followers.rb
card-1.16.0 mod/05_email/set/right/followers.rb
card-1.15.7 mod/05_email/set/right/followers.rb
card-1.15.6 mod/05_email/set/right/followers.rb
card-1.15.5 mod/05_email/set/right/followers.rb
card-1.15.4 mod/05_email/set/right/followers.rb
card-1.15.3 mod/05_email/set/right/followers.rb
card-1.15.2 mod/05_email/set/right/followers.rb
card-1.15.1 mod/05_email/set/right/followers.rb
card-1.15.0 mod/05_email/set/right/followers.rb
card-1.15.pre2 mod/05_email/set/right/followers.rb
card-1.15.pre mod/05_email/set/right/followers.rb