method
on_end_element
v4.1.8 -
Show latest stable
- Class:
ActiveSupport::XmlMini_LibXMLSAX::HashBuilder
on_end_element(name)public
No documentation available.
# 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