Skip to content

Instantly share code, notes, and snippets.

@cessor
Created April 23, 2014 23:13
Show Gist options
  • Save cessor/11235774 to your computer and use it in GitHub Desktop.
Save cessor/11235774 to your computer and use it in GitHub Desktop.
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