Class: IFF::Base
- Inherits:
-
Object
- Object
- IFF::Base
- Defined in:
- lib/iff.rb
Overview
Macros for classes representing IFF chunk types. A class representing a YAML chunk should provide the following methods (@see Chunk):
-
Chunk.unserialize
-
Chunk#tag
-
Chunk.serialize
Class Method Summary collapse
Class Method Details
.iff_tag(tag) ⇒ Object
22 23 24 |
# File 'lib/iff.rb', line 22 def self.iff_tag( tag ) IFF.register_type( tag, self ) end |