Sha256: 69503617305862d66760092c4bec2e1827a571997b133dc1a09eb6ce8d735668
Contents?: true
Size: 539 Bytes
Versions: 2
Compression:
Stored size: 539 Bytes
Contents
# for override 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.exist? follow_rule_name(user) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
card-mod-follow-0.18.1 | set/all/follow.rb |
card-mod-follow-0.18.0 | set/all/follow.rb |