Sha256: ca820b272424adb6574c1834b99dfb0c6b78baebe90402a160da6e57b2372f20

Contents?: true

Size: 254 Bytes

Versions: 2

Compression:

Stored size: 254 Bytes

Contents

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

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
robot_rea-0.1.5 lib/robot/commands/report.rb
robot_rea-0.1.4 lib/robot/commands/report.rb