Sha256: e86dec43609e80c640df1c16d5f90df9d3791f066388a4f43aa28d6d48fc4639
Contents?: true
Size: 272 Bytes
Versions: 2
Compression:
Stored size: 272 Bytes
Contents
require_relative 'response' module Command class Move def execute(compass, location, tokens) new_location = Response.new( compass: compass, location: compass.translate_location(location), tokens: tokens ) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
karel-interpreter-0.2.0 | lib/karel/command/move.rb |
karel-interpreter-0.1.0 | lib/karel/command/move.rb |