Class: Scriptura::Testament
- Inherits:
-
Object
- Object
- Scriptura::Testament
- Defined in:
- lib/scriptura/testament.rb
Constant Summary collapse
- DATA =
%w(Old New)
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ Testament
constructor
A new instance of Testament.
- #string_id ⇒ Object
Constructor Details
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
5 6 7 |
# File 'lib/scriptura/testament.rb', line 5 def name @name end |
Instance Method Details
#string_id ⇒ Object
12 13 14 |
# File 'lib/scriptura/testament.rb', line 12 def string_id name.downcase end |