Class: Caf::Chunk::Free
- Inherits:
-
Base
- Object
- Base
- Caf::Chunk::Free
show all
- Defined in:
- lib/caf/chunk/free.rb
Instance Attribute Summary
Attributes inherited from Base
#chunk_size, #chunk_type
Instance Method Summary
collapse
Methods inherited from Base
#check_type_and_size, implements, #initialize, #read_data
Instance Method Details
#fields_size ⇒ Object
19
20
21
|
# File 'lib/caf/chunk/free.rb', line 19
def fields_size
raise(Caf::Error, "not implemented")
end
|
#to_s ⇒ Object
11
12
13
|
# File 'lib/caf/chunk/free.rb', line 11
def to_s
"#{chunk_type} (free chunk)"
end
|
#validate ⇒ Object
15
16
17
|
# File 'lib/caf/chunk/free.rb', line 15
def validate
true
end
|