Class: ZIMG::JPEG::Garbage
Instance Attribute Summary
Attributes inherited from Chunk
Instance Method Summary collapse
- #cli_color ⇒ Object
- #export(*_args) ⇒ Object
-
#initialize(data) ⇒ Garbage
constructor
rubocop:disable Lint/MissingSuper.
- #inspect(*_args) ⇒ Object
Methods inherited from Chunk
Constructor Details
#initialize(data) ⇒ Garbage
rubocop:disable Lint/MissingSuper
320 321 322 323 |
# File 'lib/zimg/jpeg/chunks.rb', line 320 def initialize(data) # rubocop:disable Lint/MissingSuper @data = data @size = data.size end |
Instance Method Details
#cli_color ⇒ Object
329 330 331 |
# File 'lib/zimg/jpeg/chunks.rb', line 329 def cli_color nil end |
#export(*_args) ⇒ Object
325 326 327 |
# File 'lib/zimg/jpeg/chunks.rb', line 325 def export *_args @data end |
#inspect(*_args) ⇒ Object
333 334 335 |
# File 'lib/zimg/jpeg/chunks.rb', line 333 def inspect *_args super.red end |