Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
gemを使用してmime-types、すべてのビデオ MIME タイプの配列を取得するにはどうすればよいですか?
mime-types
video_types = [] MIME::Types[/^video/].map{|x| video_types << x.to_s }
あるいは単に
MIME::Types[/^video/].map{|type| type.to_s }