Class: GEDCOM_DATE_PARSER::GEDParserState
- Inherits:
-
Object
- Object
- GEDCOM_DATE_PARSER::GEDParserState
- Defined in:
- lib/gedcom_ruby/date_parser.rb
Instance Attribute Summary collapse
-
#buffer ⇒ Object
Returns the value of attribute buffer.
-
#lastGeneralToken ⇒ Object
Returns the value of attribute lastGeneralToken.
-
#lastSpecificToken ⇒ Object
Returns the value of attribute lastSpecificToken.
-
#pos ⇒ Object
Returns the value of attribute pos.
Instance Method Summary collapse
-
#initialize(buf, lgt, lst, p) ⇒ GEDParserState
constructor
A new instance of GEDParserState.
Constructor Details
#initialize(buf, lgt, lst, p) ⇒ GEDParserState
Returns a new instance of GEDParserState.
370 371 372 373 374 375 |
# File 'lib/gedcom_ruby/date_parser.rb', line 370 def initialize( buf, lgt, lst, p ) @buffer = buf @lastGeneralToken = lgt @lastSpecificToken = lst @pos = p end |
Instance Attribute Details
#buffer ⇒ Object
Returns the value of attribute buffer.
369 370 371 |
# File 'lib/gedcom_ruby/date_parser.rb', line 369 def buffer @buffer end |
#lastGeneralToken ⇒ Object
Returns the value of attribute lastGeneralToken.
369 370 371 |
# File 'lib/gedcom_ruby/date_parser.rb', line 369 def lastGeneralToken @lastGeneralToken end |
#lastSpecificToken ⇒ Object
Returns the value of attribute lastSpecificToken.
369 370 371 |
# File 'lib/gedcom_ruby/date_parser.rb', line 369 def lastSpecificToken @lastSpecificToken end |
#pos ⇒ Object
Returns the value of attribute pos.
369 370 371 |
# File 'lib/gedcom_ruby/date_parser.rb', line 369 def pos @pos end |