Class: FFI::Libav::AVRational
- Inherits:
-
Struct
- Object
- Struct
- FFI::Libav::AVRational
- Defined in:
- lib/ffi/libav.rb
Instance Method Summary collapse
Instance Method Details
#to_f ⇒ Object
285 286 287 |
# File 'lib/ffi/libav.rb', line 285 def to_f self[:num].to_f / self[:den] end |