Class: GEDCOM_DATE_PARSER::GEDStateEntry

Inherits:
Object
  • Object
show all
Defined in:
lib/gedcom_ruby/date_parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(st, ip, ns, a) ⇒ GEDStateEntry

Returns a new instance of GEDStateEntry.



310
311
312
313
314
315
# File 'lib/gedcom_ruby/date_parser.rb', line 310

def initialize(st, ip, ns, a)
  @state = st
  @input = ip
  @nextState = ns
  @action = a
end

Instance Attribute Details

#actionObject

Returns the value of attribute action.



309
310
311
# File 'lib/gedcom_ruby/date_parser.rb', line 309

def action
  @action
end

#inputObject

Returns the value of attribute input.



309
310
311
# File 'lib/gedcom_ruby/date_parser.rb', line 309

def input
  @input
end

#nextStateObject

Returns the value of attribute nextState.



309
310
311
# File 'lib/gedcom_ruby/date_parser.rb', line 309

def nextState
  @nextState
end

#stateObject

Returns the value of attribute state.



309
310
311
# File 'lib/gedcom_ruby/date_parser.rb', line 309

def state
  @state
end