instance method
on_end_element
Ruby on Rails 3.0.20
Since v2.3.18Signature
on_end_element(name)
No documentation comment.
Parameters
-
namereq
Source
# File activesupport/lib/active_support/xml_mini/libxmlsax.rb, line 47
def on_end_element(name)
if current_hash.length > current_hash.delete(HASH_SIZE_KEY) && current_hash[CONTENT_KEY].blank? || current_hash[CONTENT_KEY] == ''
current_hash.delete(CONTENT_KEY)
end
@hash_stack.pop
end
Defined in activesupport/lib/active_support/xml_mini/libxmlsax.rb line 47
· View on GitHub
· Improve this page
· Find usages on GitHub