method
screen_data
v1_8_6_287 -
Show latest stable
- Class:
XSD::XSDAnyURI
screen_data(value)private
No documentation available.
# File lib/xsd/datatypes.rb, line 935
def screen_data(value)
begin
URI.parse(value.to_s.strip)
rescue URI::InvalidURIError
raise ValueSpaceError.new("#{ type }: cannot accept '#{ value }'.")
end
end