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



63
64
65
# File 'lib/sqlbible.rb', line 63

def bookid
  @bookid
end

#chapterObject

Returns the value of attribute chapter

Returns:

  • (Object)

    the current value of chapter



63
64
65
# File 'lib/sqlbible.rb', line 63

def chapter
  @chapter
end

#osisidObject

Returns the value of attribute osisid

Returns:

  • (Object)

    the current value of osisid



63
64
65
# File 'lib/sqlbible.rb', line 63

def osisid
  @osisid
end

#plaintextObject

Returns the value of attribute plaintext

Returns:

  • (Object)

    the current value of plaintext



63
64
65
# File 'lib/sqlbible.rb', line 63

def plaintext
  @plaintext
end

#verseObject

Returns the value of attribute verse

Returns:

  • (Object)

    the current value of verse



63
64
65
# File 'lib/sqlbible.rb', line 63

def verse
  @verse
end

#xmlObject

Returns the value of attribute xml

Returns:

  • (Object)

    the current value of xml



63
64
65
# File 'lib/sqlbible.rb', line 63

def xml
  @xml
end

Instance Method Details

#scripref_passageObject



64
65
66
# File 'lib/sqlbible.rb', line 64

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