→ ‘BOO’
Get Version
0.0.1What’s a BOO?
The bible object oriented is easy way to access bible with your basic features. New and Old testament book’s is loaded when gem is required. It’s a good example of objects prevalence using madeleine. The snapshot is load from file bible-en/00…001.snapshot (1,5MB), running with 10 MB of RAM.
Installing
sudo gem install boo
Demonstration of usage
require "boo" # load $bible $bible # => ["OT", "NT"] $bible["OT"] # => returns a hash containing whole books of Old Testament. $bible["OT"]["Psalms"] # => returns a Book object with number and name. $bible["OT"]["Psalms"]["023"] # => returns Chapter object. $bible["OT"]["Psalms"]["023"][1] # => returns the first verse.
License
This code is free to use under the terms of the MIT license.
Contact
Comments are welcome. Send an email to Jônatas Davi Paganini.
Jônatas Davi Paganini, 1st July 2008
Theme extended from Paul Battley