Sha256: 4681329d181558b6696971dadea4c07f71739b823f5d98fb64ebb9555dd07eca
Contents?: true
Size: 685 Bytes
Versions: 7
Compression:
Stored size: 685 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) 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
Version data entries
7 entries across 7 versions & 1 rubygems