Sha256: 98875b8eb3d7ead6ff593119d5fe114225cd5b6c246af745a188505d54baa084

Contents?: true

Size: 386 Bytes

Versions: 4

Compression:

Stored size: 386 Bytes

Contents

# frozen_string_literal: true

module Robot
  module Commands
    # Command Base/Interface
    class Base
      def self.matches(_command)
        raise NotImplementedError, "#{self.class} has not implemented method '#{__method__}'"
      end

      def self.call
        raise NotImplementedError, "#{self.class} has not implemented method '#{__method__}'"
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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