class Command::Pick
Public Instance Methods
execute(compass, location, tokens)
click to toggle source
# File lib/karel/command/pick.rb, line 5 def execute(compass, location, tokens) Response.new( compass: compass, location: location, tokens: tokens.pick(location) ) end