Class: Mikunyan::ImageDecoder Deprecated

Inherits:
Object
  • Object
show all
Defined in:
lib/mikunyan/decoders/image_decoder.rb

Overview

Deprecated.

Class Method Summary collapse

Class Method Details

.decode_object(object) ⇒ Object



521
522
523
524
525
526
# File 'lib/mikunyan/decoders/image_decoder.rb', line 521

def self.decode_object(object)
  warn 'Warning: Mikunyan::ImageDecoder#decode_object is deprecated and will be removed at a future release. ' \
    'Use Mikunyan::Decoder::ImageDecoder#decode_object or' \
    'Mikunyan::CustomTypes::Texture2D#generate_png instead.'
  Mikunyan::Decoder::ImageDecoder.decode_object(object)
end