Sha256: d8ef00b6d2e4a8ba41c3d4c3e60d9171b55419d0bde55d0b88ebb9892c8d5b43

Contents?: true

Size: 191 Bytes

Versions: 4

Compression:

Stored size: 191 Bytes

Contents

# frozen_string_literal: true

module Robot
  module Commands
    module PlaceCommandParser
      def parse(command)
        command.gsub('PLACE ', '').split(',')
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
robot_rea-0.1.9 lib/robot/commands/place_command_parser.rb
robot_rea-0.1.8 lib/robot/commands/place_command_parser.rb
robot_rea-0.1.7 lib/robot/commands/place_command_parser.rb
robot_rea-0.1.6 lib/robot/commands/place_command_parser.rb