Sha256: 92dc853aa3292de7406bf17801d6e47dc1f3c8cef27d5e982a3752201ced662f

Contents?: true

Size: 856 Bytes

Versions: 8

Compression:

Stored size: 856 Bytes

Contents

# -*- encoding : utf-8 -*-
class Card; module Set; class All
# Set: All cards (Follow)
#
# for override
module Follow;
extend Card::Set
def self.source_location; "/Users/ethan/dev/decko/gem/card-mod-follow/set/all/follow.rb"; end
def followable?
  true
end

def follow_label
  name
end

def list_direct_followers?
  false
end

def follow_option?
  codename && FollowOption.codenames.include?(codename)
end

# the set card to be followed if you want to follow changes of card
def follow_set_card
  Card.fetch name, :self
end

def follow_rule_name user=nil
  follow_set_card&.follow_rule_name user
end

def follow_rule_card user=nil, args={}
  Card.fetch follow_rule_name(user), args
end

def follow_rule? user=nil
  Card.exists? follow_rule_name(user)
end
end;end;end;end;
# ~~ generated from /Users/ethan/dev/decko/gem/card-mod-follow/set/all/follow.rb ~~

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
card-1.101.7 tmpsets/set/mod026-card-mod-follow/all/follow.rb
card-1.101.6 tmpsets/set/mod026-card-mod-follow/all/follow.rb
card-1.101.5 tmpsets/set/mod025-card-mod-follow/all/follow.rb
card-1.101.4 tmpsets/set/mod025-card-mod-follow/all/follow.rb
card-1.101.3 tmpsets/set/mod025-card-mod-follow/all/follow.rb
card-1.101.2 tmpsets/set/mod025-card-mod-follow/all/follow.rb
card-1.101.1 tmpsets/set/mod025-card-mod-follow/all/follow.rb
card-1.101.0 tmpsets/set/mod025-card-mod-follow/all/follow.rb