Class: Sqlbible::Verse

Inherits:
Struct
  • Object
show all
Defined in:
lib/sqlbible.rb

Overview

Representation of a verse

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#bookidObject

Returns the value of attribute bookid

Returns:

  • (Object)

    the current value of bookid



69
70
71
# File 'lib/sqlbible.rb', line 69

def bookid
  @bookid
end

#chapterObject

Returns the value of attribute chapter

Returns:

  • (Object)

    the current value of chapter



69
70
71
# File 'lib/sqlbible.rb', line 69

def chapter
  @chapter
end

#osisidObject

Returns the value of attribute osisid

Returns:

  • (Object)

    the current value of osisid



69
70
71
# File 'lib/sqlbible.rb', line 69

def osisid
  @osisid
end

#plaintextObject

Returns the value of attribute plaintext

Returns:

  • (Object)

    the current value of plaintext



69
70
71
# File 'lib/sqlbible.rb', line 69

def plaintext
  @plaintext
end

#verseObject

Returns the value of attribute verse

Returns:

  • (Object)

    the current value of verse



69
70
71
# File 'lib/sqlbible.rb', line 69

def verse
  @verse
end

#xmlObject

Returns the value of attribute xml

Returns:

  • (Object)

    the current value of xml



69
70
71
# File 'lib/sqlbible.rb', line 69

def xml
  @xml
end

Instance Method Details

#scripref_passageObject



70
71
72
# File 'lib/sqlbible.rb', line 70

def scripref_passage
  Scripref::Passage.new(b1: bookid, c1: chapter, v1: verse, b2: bookid, c2: chapter, v2: verse)
end