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



67
68
69
# File 'lib/sqlbible.rb', line 67

def bookid
  @bookid
end

#chapterObject

Returns the value of attribute chapter



67
68
69
# File 'lib/sqlbible.rb', line 67

def chapter
  @chapter
end

#osisidObject

Returns the value of attribute osisid



67
68
69
# File 'lib/sqlbible.rb', line 67

def osisid
  @osisid
end

#plaintextObject

Returns the value of attribute plaintext



67
68
69
# File 'lib/sqlbible.rb', line 67

def plaintext
  @plaintext
end

#verseObject

Returns the value of attribute verse



67
68
69
# File 'lib/sqlbible.rb', line 67

def verse
  @verse
end

#xmlObject

Returns the value of attribute xml



67
68
69
# File 'lib/sqlbible.rb', line 67

def xml
  @xml
end

Instance Method Details

#scripref_passageObject



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

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