class WSDL::XMLSchema::Length

Public Class Methods

new() click to toggle source
Calls superclass method WSDL::Info::new
# File lib/wsdl/xmlSchema/length.rb, line 18
def initialize
  super
end

Public Instance Methods

parse_attr(attr, value) click to toggle source
# File lib/wsdl/xmlSchema/length.rb, line 26
def parse_attr(attr, value)
  case attr
  when FixedAttrName
    parent.fixed[:length] = to_boolean(value)
  when ValueAttrName
    parent.length = to_int(value)
  end
end
parse_element(element) click to toggle source
# File lib/wsdl/xmlSchema/length.rb, line 22
def parse_element(element)
  nil
end