mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
15 lines
285 B
Ruby
15 lines
285 B
Ruby
|
require 'xsd/qname'
|
||
|
|
||
|
# {urn:example.com:echo-type}foo.bar
|
||
|
class FooBar
|
||
|
@@schema_type = "foo.bar"
|
||
|
@@schema_ns = "urn:example.com:echo-type"
|
||
|
@@schema_element = [["any", [nil, XSD::QName.new(nil, "any")]]]
|
||
|
|
||
|
attr_accessor :any
|
||
|
|
||
|
def initialize(any = nil)
|
||
|
@any = any
|
||
|
end
|
||
|
end
|