Class: Sqlbible::Verse

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

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



49
50
51
# File 'lib/sqlbible.rb', line 49

def bookid
  @bookid
end

#chapterObject

Returns the value of attribute chapter

Returns:

  • (Object)

    the current value of chapter



49
50
51
# File 'lib/sqlbible.rb', line 49

def chapter
  @chapter
end

#osisidObject

Returns the value of attribute osisid

Returns:

  • (Object)

    the current value of osisid



49
50
51
# File 'lib/sqlbible.rb', line 49

def osisid
  @osisid
end

#plaintextObject

Returns the value of attribute plaintext

Returns:

  • (Object)

    the current value of plaintext



49
50
51
# File 'lib/sqlbible.rb', line 49

def plaintext
  @plaintext
end

#verseObject

Returns the value of attribute verse

Returns:

  • (Object)

    the current value of verse



49
50
51
# File 'lib/sqlbible.rb', line 49

def verse
  @verse
end

#xmlObject

Returns the value of attribute xml

Returns:

  • (Object)

    the current value of xml



49
50
51
# File 'lib/sqlbible.rb', line 49

def xml
  @xml
end

Instance Method Details

#scripref_passageObject



50
51
52
# File 'lib/sqlbible.rb', line 50

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