class Command::TurnLeft

Public Instance Methods

execute(compass, location, tokens) click to toggle source
# File lib/karel/command/turn_left.rb, line 5
def execute(compass, location, tokens)
  Response.new(
    compass: compass.turn,
    location: location,
    tokens: tokens
  )
end