Sha256: 61ba2387bbf6a424b92b3f884a4fc86b6b18ec6643f5a3dc6cd31fe79785898f

Contents?: true

Size: 278 Bytes

Versions: 3

Compression:

Stored size: 278 Bytes

Contents

module Aggro
  module Message
    # Public: OK message.
    class OK
      TYPE_CODE = '01'.freeze

      def self.parse(_string)
        new
      end

      def self.new
        @singleton ||= super
      end

      def to_s
        "#{TYPE_CODE}"
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
aggro-0.0.4 lib/aggro/message/ok.rb
aggro-0.0.3 lib/aggro/message/ok.rb
aggro-0.0.2 lib/aggro/message/ok.rb