On this page
Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class · Ruby 3.3
Prism::Pack::Directive
A directive in the pack template language.
Class methods 1
Instance methods 1
Constants
The descriptions of the various types of endianness.
The descriptions of the various types of signedness.
The descriptions of the various types of sizes.
Attributes
Read
The type of endianness of the directive.
Read
The length of this directive (used for integers).
Read
The length type of this directive (used for integers).
Read
The type of signedness of the directive.
Read
The size of the directive.
Read
A byteslice of the source string that this directive represents.
Read
The type of the directive.
Read
A symbol representing whether or not we are packing or unpacking.
Read
A symbol representing the version of Ruby.