/* * Extract a piece of information from the data returned by a successful query by a MusicBrainz::Client object. * * Returns nil if there was an error or if the correct piece of data was * not found. * * Note: Certain result queries require an ordinal argument. See the * MusicBrainz result query (MBE_*) documentation for additional * information. * * Aliases: * MusicBrainz::Client#get_result * MusicBrainz::Client#get_result_data * * 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 argc, VALUE *argv, VALUE self) {