lib/ckeditor/orm/base.rb in glebtv-ckeditor-4.0.2.7 vs lib/ckeditor/orm/base.rb in glebtv-ckeditor-4.1.1
- old
+ new
@@ -4,9 +4,13 @@
module AssetBase
module InstanceMethods
def filename
data_file_name
end
+
+ def size
+ data_file_size
+ end
def has_dimensions?
respond_to?(:width) && respond_to?(:height)
end