Class: EpubForge::Builder::Assets::Asset

Inherits:
Object
  • Object
show all
Defined in:
lib/epubforge/builder/assets/asset.rb

Direct Known Subclasses

Font, Image, Page, Stylesheet

Instance Method Summary collapse

Instance Method Details

#cover?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/epubforge/builder/assets/asset.rb', line 9

def cover?
  false
end

#media_typeObject



5
6
7
# File 'lib/epubforge/builder/assets/asset.rb', line 5

def media_type
  MEDIA_TYPES[@ext]
end