rQuran
Requran provides meta-data and related calculations for Ruby.
Note:
metatdata extracted from Tanzil.info metadata page. (Tanzil.info)
Usage
There is only one core module {Rquran} which has all the core functions. You can tap into the data directly in the module {QuranData} which provides data for suras, Juzus, pages, and sura names.
Methods in the {Rquran} module are self explanatory. One note is that we mean by "absolute ayah index" a number between 0 and 6235 that starts with the first ayah of the first sura and ends at the last ayah at the last surah.
Mixin
There is {Rquran::Mixin} provided to ease integration to frameworks like rails. A gem for direct integration to rails ActiveRecord is also in the works.