Module: FileData::InstanceMethods
- Defined in:
- lib/flat/file_data.rb
Overview
Instance Methods
Defines behavior for instances of subclasses of Flat::File regarding the accessing of its internal data structures.
Instance Method Summary collapse
-
#fields ⇒ Object
Returns the
fields
of this Flat::File subclass as defined in its class. -
#pack_format ⇒ Object
Returns the
pack_format
of this Flat::File subclass as defined in its class. -
#width ⇒ Object
Returns the
width
of this Flat::File subclass as defined in its class.
Instance Method Details
#fields ⇒ Object
Returns the fields
of this Flat::File subclass as defined in its class
112 113 114 |
# File 'lib/flat/file_data.rb', line 112 def fields self.class.fields end |
#pack_format ⇒ Object
Returns the pack_format
of this Flat::File subclass as defined in its class
105 106 107 |
# File 'lib/flat/file_data.rb', line 105 def pack_format self.class.pack_format end |
#width ⇒ Object
Returns the width
of this Flat::File subclass as defined in its class
98 99 100 |
# File 'lib/flat/file_data.rb', line 98 def width self.class.width end |