Sha256: b975667f28b04987ef2663a2ad62520b127f3e0d0eddb71a26ba5de14a5e62ab

Contents?: true

Size: 1.06 KB

Versions: 1

Compression:

Stored size: 1.06 KB

Contents

require 'xsd/qname'

module XSD::XSD2Ruby


# {urn:mysample}question
class Question
  attr_accessor :something

  def initialize(something = nil)
    @something = something
  end
end

# {urn:mysample}section
class Section
  attr_accessor :sectionID
  attr_accessor :name
  attr_accessor :description
  attr_accessor :index
  attr_accessor :firstQuestion

  def initialize(sectionID = nil, name = nil, description = nil, index = nil, firstQuestion = nil)
    @sectionID = sectionID
    @name = name
    @description = description
    @index = index
    @firstQuestion = firstQuestion
  end
end

# {urn:mysample}sectionArray
class SectionArray < ::Array
end

# {urn:mysample}sectionElement
class SectionElement
  attr_accessor :sectionID
  attr_accessor :name
  attr_accessor :description
  attr_accessor :index
  attr_accessor :firstQuestion

  def initialize(sectionID = nil, name = nil, description = nil, index = nil, firstQuestion = nil)
    @sectionID = sectionID
    @name = name
    @description = description
    @index = index
    @firstQuestion = firstQuestion
  end
end


end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
soap4r-1.5.7 test/xsd/xsd2ruby/expected_mysample.rb