Sha256: cdfcca0bfd6c291cbab8c625e0e0d94f20122970b1503f167fe0c8e28362b2af
Contents?: true
Size: 330 Bytes
Versions: 8
Compression:
Stored size: 330 Bytes
Contents
module FlyAdmin module VideosHelper def converted_percents(video) percents = 0 4.times do |i| percents+=((video.encode_mask >> i) & 1)*25 end percents.to_i end # without extension def video_title(title) File.basename(title, File.extname(title))[0..200] end end end
Version data entries
8 entries across 8 versions & 1 rubygems