Sha256: 8f7ba45f35064d232242c2a2d563b2d778d9df822a5184cc2a0b6579178a4fdb
Contents?: true
Size: 684 Bytes
Versions: 6
Compression:
Stored size: 684 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
6 entries across 6 versions & 1 rubygems