Class: Ckeditor::PictureDecorator

Inherits:
AssetDecorator show all
Defined in:
app/decorators/ckeditor/picture_decorator.rb

Instance Method Summary collapse

Methods inherited from AssetDecorator

#filename_truncated, #list_all_tags

Methods inherited from Georgia::ApplicationDecorator

#pretty_created_at, #pretty_updated_at

Instance Method Details

#filesizeObject



4
5
6
# File 'app/decorators/ckeditor/picture_decorator.rb', line 4

def filesize
  h.number_to_human_size(size)
end