Class: SelfMsg::Header

Inherits:
Object
  • Object
show all
Defined in:
lib/self_msgproto/header.rb,
ext/self_msgproto/header.cpp

Instance Attribute Summary collapse

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



6
7
8
# File 'lib/self_msgproto/header.rb', line 6

def id
  @id
end

#typeObject (readonly)

Returns the value of attribute type.



6
7
8
# File 'lib/self_msgproto/header.rb', line 6

def type
  @type
end