Sha256: c8828de0d29e7da1a071cf1b1d275f10a94532b85f70af2578c54f9cee36c275

Contents?: true

Size: 278 Bytes

Versions: 4

Compression:

Stored size: 278 Bytes

Contents

# frozen_string_literal: true

module Robot
  module Commands
    class Report < Base
      REPORT = 'REPORT'

      def self.matches?(command)
        command == REPORT
      end

      def self.call(position)
        puts position
        position
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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