Module: Duxml::ValidateError

Included in:
ValidateErrorClass
Defined in:
lib/duxml/meta/history/validate_error.rb,
lib/duxml/meta/history/validate_error.rb

Instance Method Summary collapse

Instance Method Details

#descriptionObject



16
17
18
19
# File 'lib/duxml/meta/history/validate_error.rb', line 16

def description
  rule_str = rule.respond_to?(:validate) ? 'not allowed by this Grammar' : "violates #{rule.description}"
  "Validate Error #{super} #{bad_pattern.description} #{rule_str}."
end