Method: REXML::Validation::State#initialize
- Defined in:
- lib/rexml/validation/relaxng.rb
#initialize(context) ⇒ State
Returns a new instance of State.
128 129 130 131 132 133 134 135 |
# File 'lib/rexml/validation/relaxng.rb', line 128 def initialize( context ) @previous = [] @events = [] @current = 0 @count = context.count += 1 @references = context.references @value = false end |