Module: Scripref

Defined in:
lib/scripref.rb,
lib/scripref/german.rb,
lib/scripref/parser.rb,
lib/scripref/english.rb,
lib/scripref/formatter.rb,
lib/scripref/processor.rb

Defined Under Namespace

Modules: English, German Classes: Formatter, Parser, Passage, Processor

Constant Summary collapse

VERSION =
'0.4.0'

Class Method Summary collapse

Class Method Details

.book_has_only_one_chapter?(book) ⇒ Boolean

check if the book has only one chapter

Returns:

  • (Boolean)


244
245
246
# File 'lib/scripref/parser.rb', line 244

def self.book_has_only_one_chapter? book
  [31, 63, 64, 65].include?(book)
end