Created
December 8, 2010 06:08
-
-
Save armed/732961 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_method mass_switch.reserve_crv(old_crv_number, new_crv_number) | |
## | |
## | |
_if mass_switch_get_ccom() ~= "7172" _then _return _endif | |
_if old_crv_number = new_crv_number _then _return _endif | |
_if (a_crv << get_crv_from_tel(new_crv_number)) _is _unset _then | |
_return _endif | |
_if a_crv.is_free? _then | |
a_crv.reserve_mass_switch() | |
_endif | |
_endmethod |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment