instance method record_entity_expansion!

Ruby on Rails 2.3.18

Since v2.2.3 Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Signature

record_entity_expansion!()

No documentation comment.

Source
# 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

Defined in activesupport/lib/active_support/core_ext/rexml.rb line 31 · View on GitHub · Improve this page · Find usages on GitHub

Defined in REXML::Document

Type at least 2 characters to search.

↑↓ navigate · open · esc close