Method: WSDL::XMLSchema::SimpleType#check_lexical_format

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

#check_lexical_format(value) ⇒ Object



21
22
23
24
25
26
27
# File 'lib/wsdl/xmlSchema/simpleType.rb', line 21

def check_lexical_format(value)
  if @restriction
    check_restriction(value)
  else
    raise ArgumentError.new("incomplete simpleType")
  end
end