Module: StructPacking::Base

Included in:
Packable, Unpackable
Defined in:
lib/struct_packing/base.rb

Overview

Common defines for Packable and Unpackable

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#pack_templateObject

Get Ruby’s pack template string for this class.



41
42
43
# File 'lib/struct_packing/base.rb', line 41

def pack_template
  selfclass.pack_template
end