enum

Smith::Media::Kind

Inherits Enum < Comparable < Value < Object

Images and documents travel in differently shaped blocks and not every provider takes both, so the difference is carried rather than derived from the media type at each use.

Constants

Image = 0
Document = 1

Instance methods

document?

Returns true if this enum value equals Document

Source
image?

Returns true if this enum value equals Image

Source