| Class | WSDL::XMLSchema::Choice |
| In: |
wsdl/xmlSchema/choice.rb
|
| Parent: | Info |
| elements | [R] | |
| maxoccurs | [R] | |
| minoccurs | [R] |
# File wsdl/xmlSchema/choice.rb, line 21 def initialize super() @minoccurs = '1' @maxoccurs = '1' @elements = [] end
# File wsdl/xmlSchema/choice.rb, line 55 def parse_attr(attr, value) case attr when MaxOccursAttrName @maxoccurs = value.source when MinOccursAttrName @minoccurs = value.source else nil end end
# File wsdl/xmlSchema/choice.rb, line 40 def parse_element(element) case element when AnyName o = Any.new @elements << o o when ElementName o = Element.new @elements << o o else nil end end
ruby-doc.org is hosted and maintained by James Britt and Happy Camper Studios, a Ruby application development company in Phoenix, Arizona. The site was created in 2002 as part of the Ruby Documentation Project to promote the Ruby language and to help other Ruby hackers.
Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.
For more information on the Ruby programming language, visit ruby-lang.org.
Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.