class RSS::Enclosure
- RSS::Enclosure
- RSS::Element
- Reference
- Object
Overview
Describes a media object that is attached to an item.
Defined in:
cryss/enclosure.crConstructors
Instance Method Summary
-
#length : Int32
Size in bytes.
- #length=(length : Int32)
-
#to_xml(xml : XML::Builder)
Writes the generated XML to the provided xml builder.
-
#type : String
MIME type of the media.
- #type=(type : String)
-
#url : URI
Where the enclosure is located.
- #url=(url : URI)
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 to_xml(xml : XML::Builder)
#
Description copied from class RSS::Element
Writes the generated XML to the provided xml builder.