class Command::Put

Public Instance Methods

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