Class: Excavate::FileMagic::Signature
- Inherits:
-
Struct
- Object
- Struct
- Excavate::FileMagic::Signature
- Defined in:
- lib/excavate/file_magic.rb
Overview
A magic-byte signature: where in the file to look, what bytes to expect, and which type they identify.
Instance Attribute Summary collapse
-
#magic ⇒ Object
Returns the value of attribute magic.
-
#offset ⇒ Object
Returns the value of attribute offset.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Attribute Details
#magic ⇒ Object
Returns the value of attribute magic
7 8 9 |
# File 'lib/excavate/file_magic.rb', line 7 def magic @magic end |
#offset ⇒ Object
Returns the value of attribute offset
7 8 9 |
# File 'lib/excavate/file_magic.rb', line 7 def offset @offset end |
#type ⇒ Object
Returns the value of attribute type
7 8 9 |
# File 'lib/excavate/file_magic.rb', line 7 def type @type end |