Method: REXML::Validation::Validator#reset

Defined in:
lib/rexml/validation/validation.rb

#resetObject



7
8
9
10
11
12
13
# File 'lib/rexml/validation/validation.rb', line 7

def reset
  @current = @root
  @root.reset
  @root.previous = true
  @attr_stack = []
  self
end