Class: WSDL::XMLSchema::TotalDigits

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

Instance Attribute Summary

Attributes inherited from Info

#id, #parent, #root

Instance Method Summary collapse

Methods inherited from Info

#inspect, #parse_epilogue

Constructor Details

#initializeTotalDigits

Returns a new instance of TotalDigits


17
18
19
# File 'lib/wsdl/xmlSchema/totaldigits.rb', line 17

def initialize
  super
end

Instance Method Details

#parse_attr(attr, value) ⇒ Object


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

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

#parse_element(element) ⇒ Object


21
22
23
# File 'lib/wsdl/xmlSchema/totaldigits.rb', line 21

def parse_element(element)
  nil
end