Class: Convertr::File
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Convertr::File
- Defined in:
- lib/convertr/file.rb
Instance Method Summary collapse
Instance Method Details
#float_aspect ⇒ Object
10 11 12 13 |
# File 'lib/convertr/file.rb', line 10 def float_aspect (w, h) = aspect.split(':') w.to_f / h.to_f end |