Sha256: 0a5b34fea326721bfa041cc47dfd503ad98a70f90913fd37a08d0429a8731a5d

Contents?: true

Size: 187 Bytes

Versions: 3

Compression:

Stored size: 187 Bytes

Contents

module Aggro
  # Public: Parses inter-node messages.
  module MessageParser
    module_function

    def parse(message)
      MESSAGE_TYPES[message[0..1]].parse message
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
aggro-0.0.4 lib/aggro/message_parser.rb
aggro-0.0.3 lib/aggro/message_parser.rb
aggro-0.0.2 lib/aggro/message_parser.rb