Class: ChunkyPNG::Chunk::End
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
Instance Method Summary collapse
- #content ⇒ Object
-
#initialize ⇒ End
constructor
A new instance of End.
Methods inherited from Base
Constructor Details
#initialize ⇒ End
Returns a new instance of End.
96 97 98 |
# File 'lib/chunky_png/chunk.rb', line 96 def initialize super('IEND') end |
Class Method Details
.read(type, content) ⇒ Object
100 101 102 103 |
# File 'lib/chunky_png/chunk.rb', line 100 def self.read(type, content) raise 'The IEND chunk should be empty!' if content != '' self.new end |
Instance Method Details
#content ⇒ Object
105 106 107 |
# File 'lib/chunky_png/chunk.rb', line 105 def content '' end |