aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage
diff options
context:
space:
mode:
authorCarlos Ramirez III <carlos.e.ramirez.iii@gmail.com>2019-01-28 21:13:11 -0800
committerGitHub <noreply@github.com>2019-01-28 21:13:11 -0800
commitf70defa1ba8a344ea1f2198086aeda4253bf9842 (patch)
tree795b81121b1b00feea35917e534681cb3b66674a /activestorage
parent48a41b544c3e09e7836498140f8ac0f8515aba59 (diff)
downloadrails-f70defa1ba8a344ea1f2198086aeda4253bf9842.tar.gz
rails-f70defa1ba8a344ea1f2198086aeda4253bf9842.tar.bz2
rails-f70defa1ba8a344ea1f2198086aeda4253bf9842.zip
Fix usage documentation in VideoAnalyzer
The code snippet within the usage documentation comment used the wrong object namespace for the ActiveStorage::Analyzer::VideoAnalyzer
Diffstat (limited to 'activestorage')
-rw-r--r--activestorage/lib/active_storage/analyzer/video_analyzer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activestorage/lib/active_storage/analyzer/video_analyzer.rb b/activestorage/lib/active_storage/analyzer/video_analyzer.rb
index 18d8ff8237..e56c97f4f5 100644
--- a/activestorage/lib/active_storage/analyzer/video_analyzer.rb
+++ b/activestorage/lib/active_storage/analyzer/video_analyzer.rb
@@ -11,7 +11,7 @@ module ActiveStorage
#
# Example:
#
- # ActiveStorage::VideoAnalyzer.new(blob).metadata
+ # ActiveStorage::Analyzer::VideoAnalyzer.new(blob).metadata
# # => { width: 640.0, height: 480.0, duration: 5.0, angle: 0, display_aspect_ratio: [4, 3] }
#
# When a video's angle is 90 or 270 degrees, its width and height are automatically swapped for convenience.