Class: WSDL::XMLSchema::MinInclusive

Inherits:
Info show all
Defined in:
lib/wsdl/xmlSchema/mininclusive.rb

Instance Attribute Summary

Attributes inherited from Info

#id, #parent, #root

Instance Method Summary collapse

Methods inherited from Info

#inspect, #parse_epilogue

Constructor Details

#initializeMinInclusive

Returns a new instance of MinInclusive.



18
19
20
# File 'lib/wsdl/xmlSchema/mininclusive.rb', line 18

def initialize
  super
end

Instance Method Details

#parse_attr(attr, value) ⇒ Object



26
27
28
29
30
31
32
33
# File 'lib/wsdl/xmlSchema/mininclusive.rb', line 26

def parse_attr(attr, value)
  case attr
  when FixedAttrName
    parent.fixed[:mininclusive] = to_boolean(value)
  when ValueAttrName
    parent.mininclusive = value.source
  end
end

#parse_element(element) ⇒ Object



22
23
24
# File 'lib/wsdl/xmlSchema/mininclusive.rb', line 22

def parse_element(element)
  nil
end