module Card::FollowOption

module to be included in cards used as options for follow rules

Attributes

follower_candidate_ids[R]
options[R]
test[R]

Public Class Methods

cards() click to toggle source
# File lib/card/follow_option.rb, line 19
def cards
  codenames.map { |codename| Card[codename] }
end
codenames(type=:all) click to toggle source
# File lib/card/follow_option.rb, line 15
def codenames type=:all
  options[type]
end
main_options() click to toggle source
# File lib/card/follow_option.rb, line 27
def main_options
  codenames :main
end
restrictive_options() click to toggle source
# File lib/card/follow_option.rb, line 23
def restrictive_options
  codenames :restrictive
end