Skip to content

Commit 5192f31

Browse files
committed
Mark preview_image_needed_before_processing_variants? as private API
It looks like `preview_image_needed_before_processing_variants?` was added recently, but it's stated as being public API. However, it looks like it's more of an implementation detail that's not meant for Active Storage users. So this marks it as nodoc, so we're not on the hook for maintaining it.
1 parent 161d98d commit 5192f31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activestorage/app/models/active_storage/blob/representable.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def representable?
9898
variable? || previewable?
9999
end
100100

101-
def preview_image_needed_before_processing_variants?
101+
def preview_image_needed_before_processing_variants? # :nodoc:
102102
previewable? && !preview_image.attached?
103103
end
104104

0 commit comments

Comments
 (0)