Class: Sqlbible::Verse
- Inherits:
-
Struct
- Object
- Struct
- Sqlbible::Verse
- Defined in:
- lib/sqlbible.rb
Overview
Representation of a verse
Instance Attribute Summary collapse
-
#bookid ⇒ Object
Returns the value of attribute bookid.
-
#chapter ⇒ Object
Returns the value of attribute chapter.
-
#osisid ⇒ Object
Returns the value of attribute osisid.
-
#plaintext ⇒ Object
Returns the value of attribute plaintext.
-
#verse ⇒ Object
Returns the value of attribute verse.
-
#xml ⇒ Object
Returns the value of attribute xml.
Instance Method Summary collapse
Instance Attribute Details
#bookid ⇒ Object
Returns the value of attribute bookid
63 64 65 |
# File 'lib/sqlbible.rb', line 63 def bookid @bookid end |
#chapter ⇒ Object
Returns the value of attribute chapter
63 64 65 |
# File 'lib/sqlbible.rb', line 63 def chapter @chapter end |
#osisid ⇒ Object
Returns the value of attribute osisid
63 64 65 |
# File 'lib/sqlbible.rb', line 63 def osisid @osisid end |
#plaintext ⇒ Object
Returns the value of attribute plaintext
63 64 65 |
# File 'lib/sqlbible.rb', line 63 def plaintext @plaintext end |
#verse ⇒ Object
Returns the value of attribute verse
63 64 65 |
# File 'lib/sqlbible.rb', line 63 def verse @verse end |
#xml ⇒ Object
Returns the value of attribute xml
63 64 65 |
# File 'lib/sqlbible.rb', line 63 def xml @xml end |
Instance Method Details
#scripref_passage ⇒ Object
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 |