Skip to content

Instantly share code, notes, and snippets.

@semmons99
Created April 19, 2011 14:12
Show Gist options
  • Save semmons99/927964 to your computer and use it in GitHub Desktop.
Save semmons99/927964 to your computer and use it in GitHub Desktop.
module RobotFactory
def self.next_direction(factory_floor)
# same code as before, however, instead of printing "GO WEST"
# or "GO EAST" return those as strings.
end
private
def count_impacts
# same code as before
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment