Created
April 23, 2014 23:13
-
-
Save cessor/11235774 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
def requests_landing_for(plane) | |
return check_identity_of(plane) if capacity_not_reached? | |
raise "No more planes can land!" | |
def requests_landing_for(plane) | |
if there_is_enough_space? | |
return check_identity_of(plane) | |
raise "No more planes can land!" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment