Sha256: 6cdab2c0a665192e11e431c21cd2af8aa10e60cd19786486685e7fb2ef8ffe91

Contents?: true

Size: 368 Bytes

Versions: 24

Compression:

Stored size: 368 Bytes

Contents

def follow_label
  follow_set_card.follow_label
end

def followed_by? user_id=nil
  follow_set_card.all_members_followed_by? user_id
end

def follow_set_card
  Card.fetch name, :type
end

def list_direct_followers?
  true
end

format :html do
  def related_by_type_items
    super.unshift ["#{card.name} cards", [card, :type, :by_name], { mark: :absolute }]
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
card-mod-follow-0.18.1 set/type/cardtype.rb
card-mod-follow-0.18.0 set/type/cardtype.rb
card-mod-follow-0.17.0 set/type/cardtype.rb
card-mod-follow-0.16.0 set/type/cardtype.rb
card-mod-follow-0.15.6 set/type/cardtype.rb
card-mod-follow-0.15.5 set/type/cardtype.rb
card-mod-follow-0.15.4 set/type/cardtype.rb
card-mod-follow-0.15.3 set/type/cardtype.rb
card-mod-follow-0.15.2.pre1 set/type/cardtype.rb
card-mod-follow-0.15.1.1 set/type/cardtype.rb
card-mod-follow-0.15.1 set/type/cardtype.rb
card-mod-follow-0.15.0 set/type/cardtype.rb
card-mod-follow-0.14.2 set/type/cardtype.rb
card-mod-follow-0.14.1 set/type/cardtype.rb
card-mod-follow-0.14.0 set/type/cardtype.rb
card-mod-follow-0.13.4 set/type/cardtype.rb
card-mod-follow-0.13.3 set/type/cardtype.rb
card-mod-follow-0.13.2 set/type/cardtype.rb
card-mod-follow-0.13.1 set/type/cardtype.rb
card-mod-follow-0.13.0 set/type/cardtype.rb