提交 19185c4d 编写于 作者: G George Claghorn

Remove redundant sentences [ci skip]

上级 45545643
......@@ -9,8 +9,7 @@ module ActiveStorage
# # => { width: 4104, height: 2736 }
#
# This analyzer relies on the third-party {MiniMagick}[https://github.com/minimagick/minimagick] gem. MiniMagick requires
# the {ImageMagick}[http://www.imagemagick.org] system library. These libraries are not provided by Rails; you must
# install them yourself to use this analyzer.
# the {ImageMagick}[http://www.imagemagick.org] system library.
class Analyzer::ImageAnalyzer < Analyzer
def self.accept?(blob)
blob.image?
......
......@@ -16,8 +16,7 @@ module ActiveStorage
# ActiveStorage::VideoAnalyzer.new(blob).metadata
# # => { width: 640, height: 480, duration: 5.0, angle: 0, aspect_ratio: [4, 3] }
#
# This analyzer requires the {ffmpeg}[https://www.ffmpeg.org] system library, which is not provided by Rails. You must
# install ffmpeg yourself to use this analyzer.
# This analyzer requires the {ffmpeg}[https://www.ffmpeg.org] system library, which is not provided by Rails.
class Analyzer::VideoAnalyzer < Analyzer
def self.accept?(blob)
blob.video?
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册