diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2019-01-29 17:00:02 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-29 17:00:02 +0900 |
commit | 739f87f9a39b3e690d86335fb16d1e4654ee585a (patch) | |
tree | 795b81121b1b00feea35917e534681cb3b66674a | |
parent | 48a41b544c3e09e7836498140f8ac0f8515aba59 (diff) | |
parent | f70defa1ba8a344ea1f2198086aeda4253bf9842 (diff) | |
download | rails-739f87f9a39b3e690d86335fb16d1e4654ee585a.tar.gz rails-739f87f9a39b3e690d86335fb16d1e4654ee585a.tar.bz2 rails-739f87f9a39b3e690d86335fb16d1e4654ee585a.zip |
Merge pull request #35078 from carlosramireziii/patch-1
Fix usage documentation in VideoAnalyzer
[ci skip]
-rw-r--r-- | activestorage/lib/active_storage/analyzer/video_analyzer.rb | 2 |
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. |