lib/membrane/schema/base.rb in membrane-0.0.1 vs lib/membrane/schema/base.rb in membrane-0.0.2
- old
+ new
@@ -12,6 +12,10 @@
#
# @return [nil]
def validate(object)
raise NotImplementedError
end
+
+ def deparse
+ Membrane::SchemaParser.deparse(self)
+ end
end