module FileData::InstanceMethods
Instance Methods¶ ↑
Defines behavior for instances of subclasses of Flat::File
regarding the accessing of its internal data structures.
Public Instance Methods
fields()
click to toggle source
Returns the fields
of this Flat::File
subclass as defined in its class
# File lib/flat/file_data.rb, line 112 def fields self.class.fields end
pack_format()
click to toggle source
Returns the pack_format
of this Flat::File
subclass as defined in its class
# File lib/flat/file_data.rb, line 105 def pack_format self.class.pack_format end
width()
click to toggle source
Returns the width
of this Flat::File
subclass as defined in its class
# File lib/flat/file_data.rb, line 98 def width self.class.width end