Sha256: 98925f99530fae92cb3c91de70b988f07580a908161974765da87738be287d6f

Contents?: true

Size: 1.04 KB

Versions: 12

Compression:

Stored size: 1.04 KB

Contents

# -*- encoding : utf-8 -*-
class Card; module Set; module Right; module Followers; extend Card::Set
# ~~~~~~~~~~~ above autogenerated; below pulled from /Users/ethan/dev/wagn/gem/card/mod/05_email/set/right/followers.rb ~~~~~~~~~~~
# -*- encoding : utf-8 -*-

include Card::Set::Type::Pointer

def raw_content
  if left
    items =
      if (left.type_id == SetID) || (left.type_id == CardtypeID)
        set_card = left.default_follow_set_card
        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
          end
        end.compact
      else
        left.follower_names
      end
    items.map { |item| "[[#{item}]]" }.join "\n"
  else
    ''
  end
end

def virtual?; !real? end

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

format :html do
  include Card::Set::Type::Pointer::HtmlFormat
end


# ~~~~~~~~~~~ below autogenerated; above pulled from /Users/ethan/dev/wagn/gem/card/mod/05_email/set/right/followers.rb ~~~~~~~~~~~
end;end;end;end;

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
card-1.18.6 tmpsets/set/mod006-05_email/right/followers.rb
card-1.18.5 tmpsets/set/mod006-05_email/right/followers.rb
card-1.18.4 tmpsets/set/mod006-05_email/right/followers.rb
card-1.18.3 tmpsets/set/mod006-05_email/right/followers.rb
card-1.18.2 tmpsets/set/mod006-05_email/right/followers.rb
card-1.18.1 tmpsets/set/mod006-05_email/right/followers.rb
card-1.18.0 tmpsets/set/mod006-05_email/right/followers.rb
card-1.17.4 tmpsets/set/mod006-05_email/right/followers.rb
card-1.17.3 tmpsets/set/mod006-05_email/right/followers.rb
card-1.17.2 tmpsets/set/mod006-05_email/right/followers.rb
card-1.17.1 tmpsets/set/mod006-05_email/right/followers.rb
card-1.17.0 tmpsets/set/mod006-05_email/right/followers.rb