class RSS::Image
- RSS::Image
- RSS::Element
- Reference
- Object
Defined in:
cryss/image.crConstructors
Instance Method Summary
-
#description : String | Nil
Description contains text that is included in the TITLE attribute of the link formed around the image in the HTML rendering.
- #description=(description : Nil | String)
-
#height : Float32
Height of the image in pixels.
- #height=(height : Float32)
-
#image : URI
URL of a GIF, JPEG or PNG image that represents the channel.
- #image=(image : URI)
-
#link : URI
URL of the site, when the channel is rendered, the image is a link to the site.
- #link=(link : URI)
-
#title : String
Describes the image.
- #title=(title : String)
-
#to_xml(xml : XML::Builder)
Serialises the image to the XML builder.
-
#width : Float32
Width of the image in pixels.
- #width=(width : Float32)
Instance methods inherited from class RSS::Element
ns(name : String, &)
ns,
to_s(io : IO)
to_s,
to_xml(io : IO)to_xml(xml : XML::Builder) to_xml
Constructor Detail
Instance Method Detail
def description : String | Nil
#
Description contains text that is included in the TITLE attribute of the link formed around the image in the HTML rendering.
def link : URI
#
URL of the site, when the channel is rendered, the image is a link to the site. (Note, in practice the image