Sha256: 9b488cb86fc81bccb3bf40e31238a783182055663db1f4d6034300c4c4f8898f

Contents?: true

Size: 363 Bytes

Versions: 13

Compression:

Stored size: 363 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

13 entries across 13 versions & 2 rubygems

Version Path
card-mod-follow-0.11.4 set/type/cardtype.rb
card-mod-follow-0.11.3 set/type/cardtype.rb
card-mod-follow-0.11.2 set/type/cardtype.rb
card-mod-follow-0.11.1 set/type/cardtype.rb
card-mod-follow-0.11.0 set/type/cardtype.rb
card-1.100.0 mod/follow/set/type/cardtype.rb
card-1.99.6 mod/follow/set/type/cardtype.rb
card-1.99.5 mod/follow/set/type/cardtype.rb
card-1.99.4 mod/follow/set/type/cardtype.rb
card-1.99.3 mod/follow/set/type/cardtype.rb
card-1.99.2 mod/follow/set/type/cardtype.rb
card-1.99.1 mod/follow/set/type/cardtype.rb
card-1.99.0 mod/follow/set/type/cardtype.rb