Method: WSDL::XMLSchema::Enumeration#parse_attr

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

#parse_attr(attr, value) ⇒ Object



25
26
27
28
29
30
31
# File 'lib/wsdl/xmlSchema/enumeration.rb', line 25

def parse_attr(attr, value)
  case attr
  when ValueAttrName
    parent.enumeration << value.source
    value.source
  end
end