# File lib/commands/move.rb, line 193
  def method_missing(cmd)
    states = {}
    @ports.each do |p|
      states[p] = @nxt.get_output_state(NXTComm.const_get("MOTOR_#{p.to_s.upcase}"))[cmd]
    end
    states
  end