Class: MediaInfo
- Inherits:
-
Object
- Object
- MediaInfo
- Defined in:
- lib/mediainfo/version.rb,
ext/libmediainfo/mediainfo.c
Defined Under Namespace
Modules: VERSION Classes: StreamType, Track
Delegating Into STRING collapse
-
#version ⇒ Libmediainfo::VERSION
provides easy-access to VERSION in the main gem scope.
Instance Method Summary collapse
Instance Method Details
#<=>(other) ⇒ Object
92 93 94 95 96 97 98 |
# File 'ext/libmediainfo/mediainfo.c', line 92
static VALUE
mediainfo_compare(VALUE self, VALUE other)
{
GET_MEDIAINFO(a, self);
GET_MEDIAINFO(b, other);
return rb_funcall(a->path, rb_intern("<=>"), 1, b->path);
}
|
#each_track ⇒ Object
325 326 327 328 329 330 |
# File 'ext/libmediainfo/mediainfo.c', line 325
static VALUE
mediainfo_each(VALUE self)
{
UNPACK_MI;
return rb_ary_each(mi->tracks);
}
|
#version ⇒ Libmediainfo::VERSION
provides easy-access to VERSION in the main gem scope
68 69 70 |
# File 'lib/mediainfo/version.rb', line 68 def version VERSION end |