lib/toy_robot/toy_driver.rb
def call(action_arry)
      method, direction, position = action_arry
      return send(method) if direction.nil?
      send(method, direction, position)
    end
# NOTE: Accepts parsed and valid array of action + params
Accepts parsed and valid array of action + params
Accepts parsed and valid array of action + params
def call(action_arry)
      method, direction, position = action_arry
      return send(method) if direction.nil?
      send(method, direction, position)
    end
def call ( action_arry ) method , direction , position = action_arry return send ( method ) if direction . nil? send ( method , direction , position ) end
NOTE: Accepts parsed and valid array of action + params
NOTE : Accepts parsed and valid array of action + params
action_arry