Exception: Xommelier::NoSchemaError
- Defined in:
- lib/xommelier.rb
Overview
This error raised when there are no schema provided but Xml::Element#valid? called.
Instance Method Summary collapse
-
#initialize(object) ⇒ NoSchemaError
constructor
A new instance of NoSchemaError.
Constructor Details
#initialize(object) ⇒ NoSchemaError
Returns a new instance of NoSchemaError.
28 29 30 |
# File 'lib/xommelier.rb', line 28 def initialize(object) super("Cannot validate #{object} because no schema provided for validation.") end |