class OdfCore::Error::NotAllowedAttribute
Public Class Methods
new(parent_element_class, attribute_name)
click to toggle source
Calls superclass method
# File lib/odf_core/error/not_allowed_attribute.rb, line 4 def initialize(parent_element_class, attribute_name) message = "`#{attribute_name}` is not a valid attribute for `#{parent_element_class}`" super(message) end