Sha256: 97495351f08bb6f16e702c868b4338ecc0b0cdde0a9265f258eae6d6096d6477
Contents?: true
Size: 494 Bytes
Versions: 5
Compression:
Stored size: 494 Bytes
Contents
module Schematic module Serializers module Xsd class << self def extended(klass) raise InvalidClass unless klass.ancestors.include?(ActiveRecord::Base) end end def schematic(&block) schematic_sandbox.run(&block) end def schematic_sandbox @schematic_sandbox ||= Schematic::Generator::Sandbox.new(self) end def to_xsd(options = {}) schematic_sandbox.to_xsd(options) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems