Sha256: cf83c5b3d94c5314fd99e32d7cc8d863a8b0d9e4abe9638d97cc356de72908d3

Contents?: true

Size: 856 Bytes

Versions: 10

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

10 entries across 10 versions & 1 rubygems

Version Path
card-1.100.0 tmpsets/set/mod017-follow/all/follow.rb
card-1.99.4 tmpsets/set/mod017-follow/all/follow.rb
card-1.99.3 tmpsets/set/mod017-follow/all/follow.rb
card-1.99.2 tmpsets/set/mod017-follow/all/follow.rb
card-1.99.1 tmpsets/set/mod017-follow/all/follow.rb
card-1.99.0 tmpsets/set/mod017-follow/all/follow.rb
card-1.98.3 tmpsets/set/mod017-follow/all/follow.rb
card-1.98.2 tmpsets/set/mod017-follow/all/follow.rb
card-1.98.1 tmpsets/set/mod017-follow/all/follow.rb
card-1.98.0 tmpsets/set/mod017-follow/all/follow.rb