Sha256: dcd4e13d83ae1a7cad8cd0582939f41bbbbe7d3038ababd6f6b4d93615b63f8b

Contents?: true

Size: 298 Bytes

Versions: 1

Compression:

Stored size: 298 Bytes

Contents

module FastImageParsing
  class ImageBase # :nodoc:
    def initialize(stream)
      @stream = stream
    end
  
    # Implement in subclasses
    def dimensions
      raise NotImplementedError
    end
    
    # Implement in subclasses if appropriate
    def animated?
      nil
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fastimage-2.4.0 lib/fastimage/fastimage_parsing/image_base.rb