Class: Rxhp::CustomElement
- Includes:
- AttributeValidator
- Defined in:
- lib/rxhp/custom_element.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Element
Instance Method Summary collapse
-
#validate! ⇒ Object
Check that there are no detectable problems, such as invalid attributes.
Methods included from AttributeValidator
match?, #valid_attributes?, #validate_attributes!
Methods inherited from Element
#children?, #fill_options, #initialize, #render, #render_children, #render_string, #valid?
Methods included from Scope
current, define_element, with_parent
Constructor Details
This class inherits a constructor from Rxhp::Element
Instance Method Details
#validate! ⇒ Object
Check that there are no detectable problems, such as invalid attributes.
10 11 12 13 |
# File 'lib/rxhp/custom_element.rb', line 10 def validate! super validate_attributes! end |