Sha256: d8fc95d6c5a5265d5f1219b7f3f603350cf6353ac405a7f94dfe2802b4b225d0

Contents?: true

Size: 274 Bytes

Versions: 1

Compression:

Stored size: 274 Bytes

Contents

# frozen_string_literal: true

module PuppetEditorServices
  module Handler
    class Base
      attr_reader :protocol

      def initialize(protocol)
        @protocol = protocol
      end

      # @abstract
      def handle(_message, _context = {}); end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
puppet-editor-services-2.0.4 lib/puppet_editor_services/handler/base.rb