class BlankImage::Image::Png

Constants

DATA

Public Class Methods

content_type() click to toggle source
# File lib/blank_image/image/png.rb, line 26
def content_type
  'image/png'.freeze
end
data() click to toggle source
# File lib/blank_image/image/png.rb, line 18
def data
  DATA
end
to_s() click to toggle source
# File lib/blank_image/image/png.rb, line 22
def to_s
  @to_s ||= data.pack('c*')
end