/* * Return the integer value of a query by a MusicBrainz::Client object. * * Note: Certain result queries require an ordinal argument. See the * MusicBrainz result query (MBE_*) documentation for additional * information. * * Aliases: * MusicBrainz::Client#result_int * MusicBrainz::Client#get_result_int * * Examples: * # get the name of the currently selected album * album_name = mb.result MusicBrainz::Query::AlbumGetAlbumName * * # get the duration of the 5th track on the current album * duration = mb.result MusicBrainz::Query::AlbumGetTrackDuration, 5 */ static VALUE mb_client_result_int(int argc, VALUE *argv, VALUE self) {