Class: Audio

Inherits:
Document
  • Object
show all
Defined in:
app/models/audio.rb

Constant Summary

Constants inherited from Document

Document::IMAGE_FORMATS

Instance Method Summary collapse

Methods inherited from Document

#format, #mime_type, new

Instance Method Details

#thumb(size, helper) ⇒ Object

Thumbnail file



20
21
22
# File 'app/models/audio.rb', line 20

def thumb(size, helper)
    "#{ size.to_s }/audio.png"
end