Class: Membrane::Schemas::Base
- Inherits:
-
Object
- Object
- Membrane::Schemas::Base
- Defined in:
- lib/membrane/schemas/base.rb
Instance Method Summary collapse
- #deparse ⇒ Object
-
#validate(object) ⇒ nil
Verifies whether or not the supplied object conforms to this schema.
Instance Method Details
#deparse ⇒ Object
13 14 15 |
# File 'lib/membrane/schemas/base.rb', line 13 def deparse Membrane::SchemaParser.deparse(self) end |
#validate(object) ⇒ nil
Verifies whether or not the supplied object conforms to this schema
9 10 11 |
# File 'lib/membrane/schemas/base.rb', line 9 def validate(object) raise NotImplementedError end |