Sha256: 9e0bf771c964a401730660231dffcc2a3fb43886fd0da142222ed84522c3f56b
Contents?: true
Size: 674 Bytes
Versions: 5
Compression:
Stored size: 674 Bytes
Contents
module ScaffoldParser module Scaffolders class XSD class Parser module Handlers class Choice include OrderElements attr_accessor :elements def initialize(elements = []) @elements = [*elements] end def complex_type(source) if source.has_name? STACK.push Klass.new(source, elements) else ComplexType.new(elements) end end def extension(source) Extension.new elements, source.attributes end end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems