Sha256: 44c8e759b005cef7158070f4a2e1a43c77dc29d251b6565018f0a0f1e18ceab2
Contents?: true
Size: 279 Bytes
Versions: 3
Compression:
Stored size: 279 Bytes
Contents
module Aggro module Message # Public: Endpoint message. class Endpoint < Struct.new(:endpoint) TYPE_CODE = '12'.freeze def self.parse(string) new string[2..-1] end def to_s "#{TYPE_CODE}#{endpoint}" end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
aggro-0.0.4 | lib/aggro/message/endpoint.rb |
aggro-0.0.3 | lib/aggro/message/endpoint.rb |
aggro-0.0.2 | lib/aggro/message/endpoint.rb |