class NCTU::OJ::Rejudge

Included Modules

Defined in:

commands/rejudge.cr

Constant Summary

HELP = {"description" => ""}

Class Method Summary

Instance Method Summary

Instance methods inherited from module NCTU::OJ::CommandHelper

aliases : Hash(String, String) | Nil aliases, aliases=(aliases : Hash(String, String) | Nil) aliases=, client : Client client, client=(client : Client) client=, client? : Client | Nil client?, config : Config config, config=(config : Config) config=, config? : Config | Nil config?, group_id : Int32 group_id, group_id=(group_id : Int32) group_id=, group_id? : Int32 | Nil group_id?, invalids : Array(Config::Invalid) | Nil invalids, invalids=(invalids : Array(Config::Invalid) | Nil) invalids=, load_config load_config, multi_submissions : Array(Array(Submission)) multi_submissions, multi_submissions=(multi_submissions : Array(Array(Submission))) multi_submissions=, multi_submissions? : Array(Array(Submission)) | Nil multi_submissions?, problems : Array(Config::Problem) problems, problems=(problems : Array(Config::Problem)) problems=, problems? : Array(Config::Problem) | Nil problems?, pull_submissions(problems : Array(Config::Problem) = self.problems, verdict : String = "", student_only : Bool = true, judged_only : Bool = true, pass_only : Bool = false)
pull_submissions(problem_id : String | Int32, verdict : String = "", student_only : Bool = true, judged_only : Bool = true, pass_only : Bool = false)
pull_submissions
, pull_users pull_users, students : Array(String) students, students=(students : Array(String)) students=, students? : Array(String) | Nil students?, submissions : Array(Submission) submissions, submissions=(submissions : Array(Submission)) submissions=, submissions? : Array(Submission) | Nil submissions?, title : String title, title=(title : String) title=, title? : String | Nil title?, user_id_to_i : Hash(Int32, Int32) user_id_to_i, user_id_to_i=(user_id_to_i : Hash(Int32, Int32)) user_id_to_i=, user_id_to_i? : Hash(Int32, Int32) | Nil user_id_to_i?, user_id_to_name : Hash(Int32, String) user_id_to_name, user_id_to_name=(user_id_to_name : Hash(Int32, String)) user_id_to_name=, user_id_to_name? : Hash(Int32, String) | Nil user_id_to_name?, users : Array(User) users, users=(users : Array(User)) users=, users? : Array(User) | Nil users?

Class Method Detail

def self.description #

[View source]
def self.run(*args, **params) #

[View source]

Instance Method Detail

def __rescue_from___Admiral__Error(e) #

def arguments #
Description copied from class Admiral::Command

Returns the commands Arguments object.

You can access names arguments by name. You can also access the remaning arguments using .arguments[index].


[View source]
def flags #
Description copied from class Admiral::Command

Returns the commands Flags object.

You can access names flags by name.


[View source]
def help #

def run #
Description copied from class Admiral::Command

The run command.


[View source]
def sub(command, *args, **params) #
Description copied from class Admiral::Command

Invokes a sub command by name, passing self as the parent.


[View source]