lib/gruff/base.rb
# Return the graph as a rendered binary blob.
#
# @param image_format [String] The image format of binary blob.
#
# @deprecated Please use +to_image.to_blob+ instead.
Return the graph as a rendered binary blob.
Return the graph as a rendered binary blob .
def to_blob(image_format = 'PNG')
      warn '#to_blob is deprecated. Please use `to_image.to_blob` instead'
      to_image.to_blob do
        self.format = image_format
      end
    end
def to_blob ( image_format = 'PNG' ) warn '#to_blob is deprecated. Please use `to_image.to_blob` instead' to_image . to_blob do self . format = image_format end end
Return the graph as a rendered binary blob.
Return the graph as a rendered binary blob .
image_format
The image format of binary blob.
The image format of binary blob .
deprecated
Please use +to_image.to_blob+ instead.
Please use + to_image . to_blob + instead .