method
record_entity_expansion!
v2.3.8 -
Show latest stable
- Class:
REXML::Document
record_entity_expansion!()public
No documentation available.
# File activesupport/lib/active_support/core_ext/rexml.rb, line 31
def record_entity_expansion!
@number_of_expansions ||= 0
@number_of_expansions += 1
if @number_of_expansions > @@entity_expansion_limit
raise "Number of entity expansions exceeded, processing aborted."
end
end