Parent

Class/Module Index [+]

Quicksearch

REXML::Document

Public Class Methods

entity_expansion_limit=(val) click to toggle source
# File lib/active_support/core_ext/rexml.rb, line 27
def self.entity_expansion_limit= val
  @@entity_expansion_limit = val
end

Public Instance Methods

record_entity_expansion!() click to toggle source
# File 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

[Validate]

Generated with the Darkfish Rdoc Generator 2.