Class: Membrane::Schema::Base
- Inherits:
-
Object
- Object
- Membrane::Schema::Base
- Defined in:
- lib/membrane/schema/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
18 19 20 |
# File 'lib/membrane/schema/base.rb', line 18 def deparse Membrane::SchemaParser.deparse(self) end |
#validate(object) ⇒ nil
Verifies whether or not the supplied object conforms to this schema
14 15 16 |
# File 'lib/membrane/schema/base.rb', line 14 def validate(object) raise NotImplementedError end |