class VoteGame

Included Modules

Defined in:

groogy-bot/vote_game.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(name : String) #

[View source]

Class Method Detail

def self.add(game : VoteGame) #

[View source]
def self.current #

[View source]
def self.each(&) #

[View source]
def self.find(name) #

[View source]
def self.load #

[View source]
def self.make_current(game : Nil | VoteGame) #

[View source]
def self.remove(name) : Bool #

[View source]
def self.reset_current #

[View source]
def self.write #

[View source]

Instance Method Detail

def add_slot(slot : VoteSlot) #

[View source]
def name : String #

[View source]
def remove_slot(name : String) #

[View source]
def slots : Array(VoteSlot) #

[View source]
def voter?(usr : User) #

[View source]