Flowdock
method

filename

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: Variant
filename() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activestorage/app/models/active_storage/variant.rb, line 93
    def filename
      if WEB_IMAGE_CONTENT_TYPES.include?(blob.content_type)
        blob.filename
      else
        ActiveStorage::Filename.new("#{blob.filename.base}.png")
      end
    end
Register or log in to add new notes.