# File karel/assertions.rb, line 36 def assert_facing(direction) raise "Robot is not facing: " + direction.to_s if @direction != direction end