Sha256: b099730f5e3c91bd637a9f93d2a38a93c0fd9574bdfc069df420732538b5a493

Contents?: true

Size: 245 Bytes

Versions: 3

Compression:

Stored size: 245 Bytes

Contents

seconds = (ARGV[0] || 1000).to_f
p 'syntax: second to convert, first conversion ratio, second conversation ratio'
p 'converted value is', seconds * (ARGV[1] ||29.97/30).to_f
p 'another converted value is', seconds* (ARGV[2] ||29.97/30).to_f

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sensible-cinema-0.22.1 lib/auto_convert.rb
sensible-cinema-0.22.0 lib/auto_convert.rb
sensible-cinema-0.21.10 lib/auto_convert.rb