Method: WSDL::XMLSchema::Content#parse_attr

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

#parse_attr(attr, value) ⇒ Object



67
68
69
70
71
72
73
74
75
76
# File 'lib/wsdl/xmlSchema/content.rb', line 67

def parse_attr(attr, value)
  case attr
  when FinalAttrName
    @final = value.source
  when MixedAttrName
    @mixed = (value.source == 'true')
  else
    nil
  end
end