Method: WSDL::XMLSchema::SimpleType#parse_element

Defined in:
lib/wsdl/xmlSchema/simpleType.rb

#parse_element(element) ⇒ Object



47
48
49
50
51
52
53
# File 'lib/wsdl/xmlSchema/simpleType.rb', line 47

def parse_element(element)
  case element
  when RestrictionName
    @restriction = SimpleRestriction.new
    @restriction
  end
end