Class: XABA::FileHeader
- Inherits:
-
Object
- Object
- XABA::FileHeader
- Defined in:
- lib/xaba/container.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.read(f) ⇒ Object
68 69 70 71 72 73 |
# File 'lib/xaba/container.rb', line 68 def self.read(f) r = super raise "invalid magic: #{r.magic}" if r.magic != "XABA" r end |
Instance Method Details
#inspect ⇒ Object
64 65 66 |
# File 'lib/xaba/container.rb', line 64 def inspect super.sub(/^#<struct /, "<") end |