Class: GEDCOM_DATE_PARSER::GEDDateValue
- Inherits:
-
Object
- Object
- GEDCOM_DATE_PARSER::GEDDateValue
- Defined in:
- lib/gedcom_ruby/date_parser.rb
Overview
This should be the end result of our parsing
Direct Known Subclasses
Instance Attribute Summary collapse
-
#date1 ⇒ Object
Returns the value of attribute date1.
-
#date2 ⇒ Object
Returns the value of attribute date2.
-
#flags ⇒ Object
Returns the value of attribute flags.
Instance Method Summary collapse
-
#initialize(flags, d1, d2) ⇒ GEDDateValue
constructor
A new instance of GEDDateValue.
Constructor Details
#initialize(flags, d1, d2) ⇒ GEDDateValue
Returns a new instance of GEDDateValue.
413 414 415 416 417 |
# File 'lib/gedcom_ruby/date_parser.rb', line 413 def initialize(flags, d1, d2) @flags = flags @date1 = d1 @date2 = d2 end |
Instance Attribute Details
#date1 ⇒ Object
Returns the value of attribute date1.
412 413 414 |
# File 'lib/gedcom_ruby/date_parser.rb', line 412 def date1 @date1 end |
#date2 ⇒ Object
Returns the value of attribute date2.
412 413 414 |
# File 'lib/gedcom_ruby/date_parser.rb', line 412 def date2 @date2 end |
#flags ⇒ Object
Returns the value of attribute flags.
412 413 414 |
# File 'lib/gedcom_ruby/date_parser.rb', line 412 def flags @flags end |