Sha256: 124cc920e4e6b57bdb1280dbf05f2ac6974c34c1d94a43b3495e56efd6ee7b58
Contents?: true
Size: 685 Bytes
Versions: 15
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
15 entries across 15 versions & 1 rubygems