Module: Scripture

Defined in:
lib/scripture/actions.rb,
lib/scripture/version.rb,
lib/scripture/bible_providers/base.rb,
lib/scripture/bible_providers/preaching_central.rb

Defined Under Namespace

Modules: BibleProvider

Constant Summary collapse

BIBLE =
BibleProvider::PreachingCentral.new
VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.get_verse(verse) ⇒ Object

Public: Lookup a verse of Scripture.

verse - A String of the verse reference.

Examples

Scripture.get_verse('John 3:16')
# => 'For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.'

Returns the verse a String.


14
15
16
# File 'lib/scripture/actions.rb', line 14

def self.get_verse(verse)
  BIBLE.get_for_display(verse)
end