Sha256: f04034c24ad5648495abd44a6729330d11119014515676e1cb93eceafdd5fa7b

Contents?: true

Size: 392 Bytes

Versions: 1

Compression:

Stored size: 392 Bytes

Contents

module Membrane
  module Schema
  end
end

class Membrane::Schema::Base
  # Verifies whether or not the supplied object conforms to this schema
  #
  # @param [Object]  The object being validated
  #
  # @raise [Membrane::SchemaValidationError]
  #
  # @return [nil]
  def validate(object)
    raise NotImplementedError
  end

  def deparse
    Membrane::SchemaParser.deparse(self)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
membrane-0.0.2 lib/membrane/schema/base.rb