LibJudge.Versions (lib_judge v0.4.0) View Source
TODO
Link to this section Summary
Functions
Gets the Magic: The Gathering Comprehensive Rules for the given version.
Link to this section Functions
Specs
Gets the Magic: The Gathering Comprehensive Rules for the given version.
If the rules cannot be found locally, this attempts to download them from Wizards.
Versions are either a date written as "YYYYMMDD",
or the atom :current.
If the version is :current, the current version
is obtained from Wizards, and the latest rules are
downloaded.
If allow_online is false, any action that would
go over the internet raises an error instead.
Downloaded rules are cached to prefix in addition
to being returned.