Extended maintenance of Ruby versions 1.8.7 and 1.9.2 ended on July 31, 2014. Read more
# File wsdl/xmlSchema/simpleRestriction.rb, line 49
def parse_attr(attr, value)
case attr
when BaseAttrName
@base = value
end
end
# File wsdl/xmlSchema/simpleRestriction.rb, line 38
def parse_element(element)
case element
when EnumerationName
Enumeration.new # just a parsing handler
when LengthName
Length.new # just a parsing handler
when PatternName
Pattern.new # just a parsing handler
end
end