Method: ActiveDocument::Base.remove_attribute_namespace
- Defined in:
- lib/ActiveDocument/active_document.rb
.remove_attribute_namespace(attribute) ⇒ the resultant updated hash of attributes to namespace prefixes
Removes an attribute / namespace prefix pair from the existing hash. #todo what about the corona config?
220 221 222 223 |
# File 'lib/ActiveDocument/active_document.rb', line 220 def remove_attribute_namespace(attribute) @my_attribute_namespaces.delete attribute.to_s @my_attribute_namespaces end |