Sha256: c9931d5334933548a957d46a91cfffa6a4689917630859ba226e7b16cc7363fe
Contents?: true
Size: 491 Bytes
Versions: 2
Compression:
Stored size: 491 Bytes
Contents
module Discorb # # Represents an image. class Image # # Initializes a new Image. # # @param [#read, String] source The IO source or path of the image. # @param [String] type The MIME type of the image. def initialize: (untyped | String source, ?String? `type`) -> void # # Formats the image as a Discord style. # # @return [String] The image as a Discord style. def to_s: -> String def inspect: -> String end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
discorb-0.18.1 | sig/discorb/image.rbs |
discorb-0.18.0 | sig/discorb/image.rbs |