Created
August 21, 2009 15:21
-
-
Save manlycode/172096 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module WSDL | |
module XMLSchema | |
class SimpleType < Info | |
private | |
def check_restriction(value) | |
unless @restriction.valid?(value) || @name.to_s =~ /(enum_creative_third_party_types|enum_ym_numbers_difference)/ | |
raise XSD::ValueSpaceError.new("#{@name}: cannot accept '#{value}'") | |
end | |
end | |
end | |
end | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment